
MPLS
Check Cisco MPLS / HSRP Router IP’s / States
Description:
Current Version
Last Release Date
June 5, 2009
Compatible With
Owner
Project Notes
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
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
2
Views
108,914