I am new to SNMP and have troubles understanding the SNMP requirements of a Java application I am required to implement. I am using openDMK to provide the SNMP support. Please excuse any brutal ignorance in my questions. I have read the RFC specs, but most of the text appear to be gibberish to me.
One requirement is that "SNMP support must be comformable with Alarm MIB (RFC 3877)".
Below is a method from the openDMK library to send out a SNMPv2 Trap:
public void snmpV2Trap(SnmpOid trapOid, SnmpVarBindList varBindList)
My understanding of how to use this method is trapOid
will refer to the OID of the Notification in my application's MIB and varBindList
is any additional parameters to send. So, how/where does Alarm MIB fit into this?
Another requirement is "SNMP support must be comformable with Alarm Reporting Control MIB (RFC 3878)".
SNMP notifications (which include both traps and informs) are a delivery mechanism. Alarms, on the other hand, are an indication of a problem. An alarm problem could stem from many sources and could be about many topics. Thus when an alarm is triggered it will be sent over an SNMP notification.
The alarm MIBs allow a manager to control when and if an alarm should be sent for a given topic.
Having said all that, I agree that reading those particular RFCs is difficult because the text describes high-level nebulous design patterns and the MIBs are very low-level technical details but the middle-level descriptions are missing. Examples would certainly help. Section 6 of 3877 is probably useful after you've read the whole document once or twice.