Skip to content

Commit

Permalink
Close netbox ARP records after 30min downtime
Browse files Browse the repository at this point in the history
This adds a default navclean job every five minutes to close ARP
records of devices that have been down for more than 30 minutes.
Needs to be a separate job line, since it doesn't use the built-in
default of 6 month expiry interval.
  • Loading branch information
lunkwill42 committed May 14, 2024
1 parent 31dd842 commit 0a93db7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/nav/etc/cron.d/dbclean
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
## info: Clean database with navclean
*/5 * * * * navclean -f -q --netbox --websessions
*/5 * * * * navclean -f -q --close-arp --interval '30 minutes'

0 comments on commit 0a93db7

Please sign in to comment.