ArnesSI / netbox-inventory

Manage your hardware inventory in NetBox
MIT License
213 stars 21 forks source link

Warranty remaining Send Email #192

Open MaicolSantoro opened 2 months ago

MaicolSantoro commented 2 months ago

Hi guys,

when the Warranty remaining time its over to 90 days, the plugin not send the alerts. its possible to send the alerts via email?

thank you Maicol

matejv commented 2 months ago

There is no such function integrated into the plugin. You could achieve this via a netbox custom script or some other way.

MaicolSantoro commented 2 months ago

do you know how to do it?

cs-1 commented 2 months ago

As Mateij said, you can write a CustomScript and create a background job in NetBox that runs every day and checks the warranty field. It should be fairly straightforward to implement. You need some python knowledge to achieve this. Another way would be to access NetBox's API with an external script of your choice.