Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
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.
Current Version
0.1
Last Release Date
2014-10-01
Owner
Bernard Hoffman
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2014/10/check_snmp_iproute.pl
License
GPL
Compatible With
———
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
You must be logged in to submit a review.
To:
From: