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 General
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
6559
File | Description |
---|---|
check_snmp_cisco_ospf-general.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!
Basic Cisco OSPF check using SNMP. For now only check Admin status of OSPF. Also reports RouterID and OSPF version
./check_snmp_cisco_ospf-general.pl -H 192.168.1.1 -C public
OSPF (RouterID: 0.0.0.0, Admin status: Enabled, Version: 2) : OK
./check_snmp_cisco_ospf-general.pl -H 192.168.1.1 -C public
OSPF (RouterID: 0.0.0.0, Admin status: Enabled, Version: 2) : 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