-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BGP monitoring to NAV #1463
Conversation
for now, we're just debug logging what we collect
thus helping to reduce the number of necessary SQL queries for updates.
device and netbox aren't really required attributes of an event, so don't require them in the API. also, allow for exceptions from start_type and end_type in individual alerts. Lastly, correctly use end_type when posting end alerts, not start type.
The generic description belongs in the left column, so it can be replaced by implementing an alert specific template. Also made display of acknowledgement comment a bit more intuitive to read.
(BGP4Mib.ROOT): indicate which object represents the root of the MIB, used for testing whether any kind of contents are available from the given MIB.
this is Juniper's implementation, into its own enterprise tree, of draft 3 of the BGP4-V2-MIB, which was never standardized by an IETF RFC.
… InetAddress values
Also, hold back bgpDown alerts if the peer is known to NAV and is currently down - if alerting on iBGP sessions, you would have a bgpDown alert for every router in your mesh that is peering with a router that goes down.
Why not add this under the services tab for each device, and class BGP, OSPF, IS-IS etc as a service? |
We could potentially put it on the Services tab in ipdevinfo, but it would mostly be to avoid "tab-itis". NAV has a separate concept of service monitoring, for which this tab is usually reserved. We'll have to think about it a bit, @Justmeccsn - but I just made #1718 for that purpose - so if you have further suggestions, please put them there :-) |
Here's my initial attempt at implementing #1183 - BGP monitoring.
One thing remains: Add an UI for displaying known BGP sessions for each router. I would add it to
ipdevinfo
, but I'm afraid of tab overload, so I think @jmbredal is best suited to do something about this. I have added a BGP report, but I do not think this will be sufficient in the long run.