Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

Home > Success Center > Network Performance Monitor (NPM) > Monitor HSRP State Change with Alerting

Monitor HSRP State Change with Alerting

Table of contents

Updated March 20, 2017

Overview

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 www.cisco.com, 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 https://blog.pierky.com obtained on March 20, 2017).

 

In order to monitor the HSRP group state you just have to grab the cHsrpGrpStandbyState parameter (OID iso.3.6.1.4.1.9.9.106.1.2.1.1.15.2.10), 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.

Environment

All NPM versions

Detail

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

 

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
00:17, 20 Mar 2017

Tags

Classifications

Public