Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This Script is capable to check MPLS Routers for their correct Ip's (Active / Passive) by querying them with SNMP and to compare this result with provided Ip's. It is also possible to check for the Standby State of a Router. Check if the Active Router got a specific IP-Address ./check_cisco_hsrp.sh -H 10.35.140.250 -C public -m active 10.35.10.248 OK - Active Router Ip 10.35.140.248 is the correct ip (10.35.10.248) Check if the Standby Router got the correct IP-Address ./check_cisco_hsrp.sh -H 10.35.140.250 -C public -m standby 10.35.140.249 OK - Standby Router Ip 10.35.140.249 is the correct ip (10.35.140.249) Check if the Second (Standby) Router is in Standby State ./check_cisco_hsrp.sh -H 10.35.10.249 -C public -m state 5 OK - 10.35.10.249 is in HSRP State: standby ./check_cisco_hsrp.sh -H 10.35.10.248 -C public -m state 5 CRITICAL - 10.35.140.248 is in HSRP State: Active but should be Standby States: Standby = 5 Active = 6
Current Version
Last Release Date
June 5, 2009
Owner
Nagios Exchange
Website
http://myfreshthoughts.blogspot.com/
Download URL
This Script is capable to check MPLS Routers for their correct Ip’s (Active / Passive) by querying them with SNMP and to compare this result with provided Ip’s. It is also possible to check for the Standby State of a Router.
Check if the Active Router got a specific IP-Address
./check_cisco_hsrp.sh -H 10.35.140.250 -C public -m active 10.35.10.248 OK – Active Router Ip 10.35.140.248 is the correct ip (10.35.10.248)
Check if the Standby Router got the correct IP-Address
./check_cisco_hsrp.sh -H 10.35.140.250 -C public -m standby 10.35.140.249 OK – Standby Router Ip 10.35.140.249 is the correct ip (10.35.140.249)
Check if the Second (Standby) Router is in Standby State
./check_cisco_hsrp.sh -H 10.35.10.249 -C public -m state 5 OK – 10.35.10.249 is in HSRP State: standby
./check_cisco_hsrp.sh -H 10.35.10.248 -C public -m state 5 CRITICAL – 10.35.140.248 is in HSRP State: Active but should be Standby
States: Standby = 5 Active = 6
You must be logged in to submit a review.
To:
From: