0

I have created a custom mib file i need to add the prioroty to it so while sending trap from java application i can see the severity information at my trap viewer. my doubts are:

1;) suppose the OID for TrapDescWarn is X.Y.Z , so for critial it would be X.Y.Z.1 ? 2:) how to load the mib file into system (i am using windows) for testing that my mib are loaded fine and i am getting the defined description.

TrapDescWarn OBJECT-TYPE SYNTAX INTEGER { critical(1),
major(2),
informational(3),
clear(4)
} MAX-ACCESS read-only STATUS current DESCRIPTION "Warning from the payment interface" ::= { TrapDefs 10 }

Satyajeet
  • 15
  • 6

1 Answers1

0

If TrapDescWarn's OID is X.Y.Z, then its OID is X.Y.Z.

1 would be its [current] value, not part of its OID.

Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055