We have several Cisco 4507s, 6509s, 6513s, etc. and we would like to be notified when there is a problem with the power (supplies).
For the purpose of this question, I will reference the 4507s that we have. All of them have two 6000 Watt power supplies. Each power supply has two 220V plugs inserted.
I have created a UnDP referencing the CiscoEnvMonSupplyState. The results that I get are something like 1,1 (Meaning that everything is fine with both power supples).
I am trying to write an Alert based off of this UnDP where the trigger is where the Numeric Status is not equal to 1 (Meaning that their is a problem with the power supply).
The problem that I am having is trying to associate the column value with a particular power supply. E.g. The results returned from the poll are 2,1.
I want the alert to say something like There is a problem with "Power Supply 1". What variable can I use to reference Power Supply n (${Variable Name})
The other thing that I would like to alert on is if one of the plugs for a particular power supply loses power or is unplugged. Is there a way to say "there is a problem with Plug n (where n is either 1 or 2) for Power Supply n (where n is 1 or 2)?
I have also found that there is another OID for the Power Supply number (CiscoEnvMonSupplyStatusDesc).
Is there a way to associate the results from the State with the Desc?
Maybe I'm just going about this in the wrong way. Any ideas?
I'm a little new to this so if you could be rather descriptive with your answers or screenshots that would be very much appreciated.
We are running with NPM 10.1.3.
Also, if there is anything that I have left out in order for you to reply with a descriptive answer, let me know and I will do my best to provide you with the information that you need.
As always, any help would be greatly appreciated. Thanx in advance.