netbox-agent
netbox-agent copied to clipboard
Automatic decommission
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.
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