Dear Teacher,
Now I have puzzled question. In upsMIB(RFC1628),there
are objects " upsAlarmsPresent" "upsAlarmTable" etc.
as follows:
--
-- The Alarm group.
--
upsAlarm OBJECT IDENTIFIER ::= { upsObjects 6 }
upsAlarmsPresent OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The present number of active alarm conditions."
::= { upsAlarm 1 }
upsAlarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF UpsAlarmEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of alarm table entries. The table contains
zero, one, or many rows at any moment, depending upon
the number of alarm conditions in effect. The table
is initially empty at agent startup. The agent
creates a row in the table each time a condition is
detected and deletes that row when that condition no
longer pertains. The agent creates the first row with
...............
...............
Now I have to log the alarm event, the demands as follows:
--------Logging the events related with UPS. Please logging following
events. upsMIB(RFC1628)
--------1.All Traps which is specified on �?upsTraps�?
--------2.Alarm contents which is specified on �?upsAlarm�?.
Now ,I can log the trap by snmptrapd application.
How can I log the "Alarm conntents" ? What tools ? Is the upsAlarm sent
the same as the trap. Or other format?
sincerely,
howell
[EMAIL PROTECTED]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders