Hi,
You need to create something like this : (ignore the colours)
http://web.observium.org/~adama/snaps/chrome_2020-09-01_04-58-31.png
You want to alert when status_name = false (the translated value from the device) and match the cisco-stackwise-redundant-state status type attribute in the associations.
At the moment it doesn’t seem like the entity system for status understands the mib/oid attributes, I’ll have to look at that, otherwise you’d have matched it that way instead of the older “type”. MIB/OID is shown in the status table where it’s known.
http://web.observium.org/~adama/snaps/chrome_2020-09-01_04-49-34.png
You can get the type by guessing, since it’s usually obvious, or checking in the poller output :
http://web.observium.org/~adama/snaps/putty_2020-09-01_04-52-53.png
adam.
From: observium <observium-bounces@observium.org> On Behalf Of Mezzadri, Steven via observium
Sent: 31 August 2020 13:07
To: observium@observium.org
Cc: Mezzadri, Steven <mezzadrist@northvilleschools.org>
Subject: [Observium] Alert Check - Monitoring Cisco Stack Redundancy
Hello,
I was wondering if anyone could help me write a better alert checker to determine if a Cisco stack has a missing member. Occasionally, one member of a stack will fail, but the stack continues to operate so it's not in a "down" state. I would like to get a notification when that happens.
I am currently monitoring all stack ports, but any unused stack ports show "down" as well, so I'm looking for a better solution.
I would like to use another status indicator such as "stack is redundant" or "stacking state":
Perhaps cswRingRedundant ?
Could anyone assist me with how to construct an alert check to accomplish this?
Thanks!
--
Steven Mezzadri
Network Engineer