Nortel Networks 4050 사용자 설명서

다운로드
페이지 922
630 Chapter 12 Configuring SNMP
320818-A
 
addmonitor 
[<options>] -x <name
<OID
[present|absent|
changed]
Adds an existence monitor and trigger as defined in the 
DISMAN-EVENT-MIB. 
Valid <
options
> are:
-c <comment>
 — adds a comment
-f <frequency>
 — the sampling interval, in 
seconds. The default is 600 (10 minutes).
-o <OID>
 — additional objects to send in the 
event
-e <EventName>
 — the name of a notification 
event
-d <OID>
 — the delta discontinuity OID
-D timeTicks|timeStamp|dateAndTime
 
— the delta discontinuity type
Other parameters are:
name
 — a unique name you assign to the monitor, 
for identification
OID
 — the object identifier (or symbolic name) to 
monitor
present|absent|changed
 — indicates 
whether the object being monitored is present, 
absent, or has changed
delmonitor <name>
Removes the specified monitor from the configuration.
addevent [-c 
<comment>] <name
<notification
[<OID...>]
Adds a notification event as defined in the 
DISMAN-EVENT-MIB.
-c <comment>
 — adds a comment (optional)
name
 — a unique name you assign to the event, for 
identification
notification
 — the OID (or symbolic name) of 
the notification
OID...
 — additional notification OIDs (optional)
delevent <name>
Removes the specified event from the configuration.
list
Displays configured monitors and events. For monitors, 
displays the monitor name, OID, and type. For events, 
displays the event name, notification OID, and 
comment.
/cfg/sys/adm/snmp/event
followed by: