Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an issue over SNMP trap. I am using Cisco's private MIB. There I can use separate OID for alarm severity and it holds the values as follows.

MajorLow = 0

MinorLow = 1

Nominal = 2

MinorHigh = 3

MajorHigh = 4

Using these states I am showing the alarm severity of the device in my NMS.

But when the device generates trap, it sends the alarm severity with only two states (MAJOR = 1 or MINOR = 2). If i use these alarm states (1 or 2), it mismatch with the existing states (MajorLow =1, Nominal = 2).

How can I overcome this issue?
Posted
Comments
Sandeep Mewara 23-May-12 4:47am    
Not clear. What exactly is your question? You need mapping of states? Are few states missing?
ShaminaMina 23-May-12 4:56am    
In Trap, there are two states only, MAJOR/MINOR. But I should match this Trap states with LOLO, LO, HIHI, HI, NOMINAL.

1 solution

In Trap, there are two states only, MAJOR/MINOR. But I should match this Trap states with LOLO, LO, HIHI, HI, NOMINAL.
I doubt if you can have it as only two states are defined.
You need to have some logic for the mapping. If you input only two states and want it to be one of five states then the mapping should define it.

To me it's:
Major == HIHI, HI
Minor == LOLO, LO
Nominal is nothing.

If you have any values associated, you can use them to define if Major is HIHI or HI - or else, you need to bucket it as HIHI/HI for all MAJOR. Map to any one and move on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900