Comments (4)
Although the current behavior is undesirable, it is likely still desirable for NAV to close ARP records after a netbox has been down for a while, since we can no longer verify those records by polling the netbox.
The question is: When is it acceptable to close ARP records associated with a "dead" netbox? Some suggestions:
- It could be acceptable to close them when the netbox is actually declared down by a new
boxState
entry inalerthist
. This happens after 4 minutes of unresponsiveness (by default, configured ineventengine.conf
). - We might want to wait even longer, in which case it would not be achievable through a database rule. We might instead want to add a new subcommand to the
navclean
program that will close open ARP records for netboxes that have been down for any number of minutes. The limit could then be configurable on each NAV site (thedbclean
cron job runs by default every 5 minutes)
from nav.
I would have to say that I'm leaning towards the latter solution, with some default value provided by NAV. ARP collection runs every 30 minutes by default, so a sensible default could be to close ARP records for devices that have been down for longer than this.
from nav.
This was supposed to be fixed by #2913, but this PR managed to delete the incorrect database rule. The target rule to delete was netbox_status_close_arp
, but instead the schema changes delete netbox_close_arp
, which is responsible for closing ARP records when a router is deleted from NAV - which is entirely different.
from nav.
Fixed by #2928 - expected in a 5.10.2 release
from nav.
Related Issues (20)
- [BUG] navtopology cron job does not start properly HOT 3
- [BUG] Renaming of `snmptrapd.py` to `snmptrapd` conflicts with Net-SNMP's `snmptrapd` HOT 2
- Adding multiple SNMPv3-enabled switches in NAV causes spurious timeouts and `snmpAgentDown` alerts HOT 3
- ARP records are closed in bulk, seemingly at random
- Installing NAV on Debian guide should be updated to Debian Bullseye
- Add deprecation warning for Python 3.7 to `NOTES.rst` and `CHANGELOG.md`
- Remove Python 3.7 from default test matrix
- Update required PostgreSQL version to 13
- Make a new management profile type for REST APIs HOT 1
- Make TLS certification validation configurable in the ipdevpoll Palo Alto ARP plugin
- Upgrade minimum twisted version to higher than 22.8.0
- [BUG] Alert profile filter - list_limit reached HOT 1
- [BUG] CAM data not collected for devices of type SRV and OTHER
- Make qrcode library produce SVG images instead of PNG HOT 2
- plugins paloaltoarp.py - Entries node not found at element [0][4] HOT 6
- API endpoints for maintenance HOT 1
- Fully rename `snmptrapd` to `navtrapd` internally
- Support KEA for dhcp statistics
- Juniper: Add MIB for statistics of "Data Plane CPU Utilization"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nav.