OSPF

check_ospf2

Description:

check_ospf script that uses OSPF-MIB (ePN compliant)

Current Version

Last Release Date

June 23, 2009

Compatible With


Nagios CSP

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!
Project Files
Project Notes
Requires Net::SNMP. Returns OK on twoWay or full. Returns CRITICAL on other states or if OSPF neighbor missing. Check OSPF peer status via SNMP. Usage: check_ospf.pl -H -C -p check_ospf.pl --help check_ospf.pl --version -H (--hostname) Hostname to query - (required) -C (--community) SNMP read community or v3 auth (defaults to public) (v3 specified as username:authpassword:... ) username = SNMPv3 security name authpassword = SNMPv3 authentication pass phrase (or hexidecimal key) authprotocol = SNMPv3 authentication protocol (md5 (default) or sha) privpassword = SNMPv3 privacy pass phrase (or hexidecmal key) privprotocol = SNMPv3 privacy protocol (des (default) or aes) -v (--snmp_version) 1 for SNMP v1 2 for SNMP v2c (default) 3 for SNMP v3 -p {--peer} IP of peer -V (--version) Plugin version -h (--help) usage help
Reviews (1) Add a Review
beware Cisco IOS newer than 12.2
by ikx1000@gmail.com, November 30, 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
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3 (1)
Favorites
0
Views
98,051