Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Cisco OSPF Interface
0.1
2015-07-16
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
- Nagios Fusion
- Nagios Reactor
- Nagios Network Analyzer
- Nagios Log Server
GPL
6605
File | Description |
---|---|
check_snmp_cisco_ospf-interface.pl | Version 0.1 - July 16 2015 |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Checks the OSPF Interface status and number of re-calculations using SNMP. Will report warning if there is a change in re-calculation in last 24 hours.
./check_snmp_cisco_ospf-interface.pl -H 192.168.1.1 -C public
Interface Status: 172.20.10.10 = enabled, pointToPoint, active, 172.30.10.10 = enabled, otherDesignatedRouter, active, Re-calculations in last 24 hours: 172.20.10.10 = 0, 172.30.10.10 = 0,: OK
./check_snmp_cisco_ospf-interface.pl -H 192.168.1.1 -C public
Interface Status: 172.20.10.10 = enabled, pointToPoint, active, 172.30.10.10 = enabled, otherDesignatedRouter, active, Re-calculations in last 24 hours: 172.20.10.10 = 0, 172.30.10.10 = 0,: OK
Reviews (1)
byikx1000@gmail.com, November 18, 2020
Very limited functionality with modern IOS-es, and typical MPLS VPNs. It is a IOS limitation, not the plugin itself. The only chance is to configure ospf traps on the router and trap handling, passive service on Nagios. IOS config:
snmp-server host ....
snmp-server enable traps ospf
"Cisco IOS Release 12.0(26)S, 12.2(25)S, 12.2(27)SBC, 12.2(31)SB2 and later
releases, the OSPF MIB and CISCO OSPF MIB will be supported only for the first OSPF process [....] SNMP traps will be generated for OSPF events that are related to any of the OSPF processes.
There is no workaround for this situation."
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-sy/iro-15-sy-book/iro-mib-1850.pdf
snmp-server host ....
snmp-server enable traps ospf
"Cisco IOS Release 12.0(26)S, 12.2(25)S, 12.2(27)SBC, 12.2(31)SB2 and later
releases, the OSPF MIB and CISCO OSPF MIB will be supported only for the first OSPF process [....] SNMP traps will be generated for OSPF events that are related to any of the OSPF processes.
There is no workaround for this situation."
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-sy/iro-15-sy-book/iro-mib-1850.pdf