Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_snmp_iproute.pl

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2014-10-01
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
16780
Files:
FileDescription
check_snmp_iproute.plcheck_snmp_iproute.pl
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!
Check the routing tables on Cisco devices (may work on others, but not tested) for specific IP/Mask/Gw combinations. OK if found as expected, CRITICAL if unexpected result returned.

Wrote this with a fall back to support both the IPRouteNextHop and the CIDR...nextHop MIBs.
---------

Check routing table entry status via SNMP.

Usage:
check_snmp_iproute.pl -H [-C ] -r -m -g
check_snmp_iproute.pl [-h | --help]
check_snmp_iproute.pl [-V | --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
-r {--routeip} IP (dot.quad) of route to be verified
-m {--routemask} Netmask (dot.quad) for route to be verified
-g {--routegw} IP (dot.quad) of route gateway to be verified
-V (--version) Plugin version
-h (--help) usage help