English 中文(简体)
Trying to understand what Alarm and Alarm Reporting Control Management Information base are used for
原标题:

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)".

  • What does this mean?
  • What is Alarm MIB used for?
  • Is this related to SNMP Trap/Notification? Reading the RFC specs, I have the feeling that this is about the SNMP Notification/Trap that my application needs to send out to the managers in case something bad occurs (e.g. a threshold was exceeded). If so, I still don t understand what exactly I need to do with this requirement.
    • I will need to define my own application s SNMP Trap definitions (i.e. not using the generic ones). How will my MIB be different now that I need to support Alarm MIB?
    • Is it that, besides sending out a Notification, I need to store that Notification in the Alarm table? If so, what is the purpose of doing so?
  • 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)".

  • What does this mean?
  • What is Alarm Reporting Control MIB used for?
  • Any relation to SNMP Trap/Notification?
最佳回答

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.

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签