Is there a way to check if there is an active alarm on a cisco switch/router (M4900/4948 series and 2960 series) using SNMP ?
I'm looking for a simple quick way to verify if an alarm is active (any alarm)
is there some sort of general OID that gives me a '1' or '0' ?
Go to Solution.
Like a table that hold all alarms. No there is no such thing.
There are so many reasons there could be an alarm. Hardware state, error rates, utilisation, etc
There are hardware state OID's that can give you a hardware component status.
Usually you will find that you have an OID for a component, like a fan.
You can then walk this OID to find the instances of that OID.
E.g, a fan for the device and another fan for the power supply, or a fan for each stack member.
When you know these instances lets say the walk return .1001and .2004 you can query
126.96.36.199.188.8.131.52.184.108.40.206.3.1001 and 220.127.116.11.18.104.22.168.22.214.171.124.3.2004.
The values returned can be:
So then you have an alarm for the fan's.
It is similar for other components like a power supply or temperature sensors, etc.
And then there are operational alarms not related to hardware.
For this you need to monitor values like CPU utilization and define a threshold.
View solution in original post
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: