I suppose, that instead of writing an Alert Checker for one function (HSRP in this case) efforts can be done in writing a generic alert checker for SYSLOG :)

Lot's of alerts in Cisco world can be done with SYSLOG:

- IP SLA Tracks;

- VPN alerts;

- Overrun of the HW TCAM;

- Routing protocol flaps;

- STP changes;

- FHRP (like in this case);

- Module up/down events;

and many others.


Example of SYSLOG for HSRP is: "HSRP-5-STATECHANGE : GigabitEthernet0/0 Grp 1 state Active -> Speak", it's easy to build an alert from this.

---

Best, Sergey


Вторник, 18 ноября 2014, 21:31 UTC от Marco Spicuglia <Marco.Spicuglia@reasonnet.com>:

I noticed that when an HSRP interface is in active mode, the gateway IP shows up on that interface and not in the standby one, which shows only its own IP. Maybe, detecting where the GW shows up could be used for triggering hsrp events?



From: observium <observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.org>
Sent: 18 November 2014 21:10
To: Observium Network Observation System
Subject: Re: [Observium] HSRP event tracking
 
Looks like something worth adding though!
 
adam.
 
------ Original Message ------
From: "Pedersen, Sean" <spedersen@io.com>
To: "Observium Network Observation System (observium@observium.org)" <observium@observium.org>
Sent: 11/18/2014 1:30:10 PM
Subject: Re: [Observium] HSRP event tracking
 
I don’t believe there is an HSRP tracker. It’s definitely not in the sensor entity type. Sensors are things like current, dBm, fan speed, power, state, temperature, voltage, etc. There’s a list of known metrics and attributes here:


Examples of values can be found in your MySQL database.

From: <Pedrosi>, "Derek G." <pedrosi@millercanfield.com>
Reply-To: "Observium Network Observation System (observium@observium.org)" <observium@observium.org>
Date: Tuesday, November 18, 2014 at 12:14 PM
To: "Observium Network Observation System (observium@observium.org)" <observium@observium.org>
Subject: [Observium] HSRP event tracking

Is there a way to add a checker for Cisco HSRP events?

From CISCO-HSRP-MIB…

HsrpState ::= TEXTUAL-CONVENTION

    STATUS          current

    DESCRIPTION

        "The current state of the HSRP protocol for a given

        HSRP group entry."

    SYNTAX          INTEGER  {

                        initial(1),

                        learn(2),

                        listen(3),

                        speak(4),

                        standby(5),

                        active(6)

                    }

 

This does not work…

 

 

 

Regards,

derek

Subscriber v14.11.5987



Founded in 2007, IO is a worldwide leader in software defined data center technology, services and solutions that enable businesses and governments to intelligently control their information.

The communication contained in this e-mail is confidential and is intended only for the named recipient(s) and may contain information that is privileged, proprietary, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. Please immediately notify the sender of the error, and delete this communication including any attached files from your system. Thank you for your cooperation.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium