netbox-agent icon indicating copy to clipboard operation
netbox-agent copied to clipboard

Automatic decommission

Open ramnes opened this issue 5 years ago • 1 comments

For those that always want their Netbox 100% up-to-date, a cron-mode could be provided so that every agent fills in a last update date while another mechanism on the Netbox-side would be in charge of removing expired resources.

ramnes avatar Aug 05 '19 15:08 ramnes

Netbox has attribute on Device to see when was the last update But if there's no local modifications (IPs, new hardware etc) it won't be updated

I see two ways:

  • we could add a last_cron_update in the JSON Config Context but there is now way to filter on configcontext value
  • the other way is to use a CustomField, it's searchable but it needs to be created on the user's netbox instance

Solvik avatar Aug 05 '19 15:08 Solvik