Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 match the trap states [MAJOR, MINOR] with the actual alarm states[LOLO, LO, HIHI, HI, NOMINAL]?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

SNMP agents are dumb and will only send what you tell it to. You will have to modify how your Cisco device sends the traps by adjusting their severity if you can, or by mapping and reformatting the traps as they come into your NMS.

share|improve this answer
    
Yes, you are right. Unfortunately I don't have privilege to modify the SNMP agent's dumb. So I managed, by getting the alarm severity state at the Trap Process which requires one more getRequest(). –  Shami Sep 13 '12 at 5:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.