Its purpose is to query Cisco MPLS Router. It is able to query for the correct Active and Standby Router IPs or for the State of these Active and Passive Components.
This has been adapted from a Nagios plugin by A. Delgado. Thanks!
Usage: ./cisco_hsrp_plugin.sh -H <HOSTNAME> -C <COMMUNITY> -m active|standby|state ip|ip|state