Am currently using
ucd-snmp...if switching to net-snmp will solve this problem, I'll gladly
switch. Anyway, here's a little snippet example from one of MIBs I'm
working on:
ipoGenLKSCommsOperationalEvent NOTIFICATION-TYPE
OBJECTS {
ipoGTEventSeverity,
ipoGTEventDateTime
}
STATUS current
DESCRIPTION
"A ipoGenLKSCommsFailureEvent notification is generated
whenever communication with a Licence Key Server becomes
operational again after having failed. It signifies that the
SNMP entity, acting in an agent role, has detected that the
state of the communications between the Licence Key Server has
transitioned from the failed to the operational state"
::= { ipoGTEvents 6 }
OBJECTS {
ipoGTEventSeverity,
ipoGTEventDateTime
}
STATUS current
DESCRIPTION
"A ipoGenLKSCommsFailureEvent notification is generated
whenever communication with a Licence Key Server becomes
operational again after having failed. It signifies that the
SNMP entity, acting in an agent role, has detected that the
state of the communications between the Licence Key Server has
transitioned from the failed to the operational state"
::= { ipoGTEvents 6 }
Is there anyway of
outputting the DESCRIPTION section using snmptrapd (or whatever) when this
particular trap is received by my Linux server? Or must I write a separate
script to extract the DESCRIPTION? I would like to do this for ALL traps
received by my server. It looks like all the MIBs I'm working on
has DESCRIPTIONs for each trap.