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 }