Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Monitor HSRP State Change with Alerting

Monitor HSRP State Change with Alerting

Table of contents

Updated March 20, 2017


Hot Standby Router Protocol (HSRP) is a Cisco proprietary redundancy protocol for establishing a fault-tolerant default gateway.


HSRP is Cisco's standard method of providing high network availability by providing first-hop redundancy for IP hosts on an IEEE 802 LAN configured with a default gateway IP address. HSRP routes IP traffic without relying on the availability of any single router.


For more details see Understanding HSRP (© 2017 Cisco, available at, obtained on March 20, 2017). 


SolarWinds does not natively poll HSRP State changes. This means that you need to have the right OID to monitor the HSRP State changes, then, use SolarWinds NPM Universal Device Poller to create a poller that will poll the HRSP state of the node. 


The most important table in order to get HSRP status information is cHsrpGrpTable, where we can find as many cHsrpGrpEntry objects as HSRP groups configured in the router. Each cHsrpGrpEntry object represents the HSRP configuration and status for a given HSRP group number on a given interface.


Source: Cisco HSRP monitoring using SNMP (Content provided by Pier Carlo Chiodi , available at obtained on March 20, 2017).


In order to monitor the HSRP group state you just have to grab the cHsrpGrpStandbyState parameter (OID iso., which can have one of the following values:


1: initial
2: learn
3: listen
4: speak
5: standby
6: active


Note: If your Cisco device that has HSRP enabled does not respond to the given OID, check with Cisco what is the correct OID to monitor HSRP.


All NPM versions


Use SolarWinds Universal Device Poller to create a poller that will poll the cHsrpGrpStandbyState (OID


Visit Create a Universal Device Poller about how to create a poller using Universal Device Poller. 


If you want to be alerted if the HSRP State changes, create an alert where the Type of Object to monitor is Custom Node Poller.


Visit Create Custom Poller Alert to know more about creating an alert based on Custom Poller. 


Start with the following trigger conditions:


  • Custom Poller Unique Name is equal to <Name of the Poller>
  • Current Value is not equal to 6


The above trigger conditions will trigger if the HRSP state changes and not equal to Active state. This applies to a Router that is the Active HSRP. If you want to be alerted if the Standby HSRP changes to Active, then you need to create another alert specific to that router then the trigger condition would be Current Value is not equal to 5.


These are just examples. The trigger conditions of the alert will vary depending on how you want to be alerted. 



Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.



Last modified