630Chapter 12 Configuring SNMP

/cfg/sys/adm/snmp/event followed by:

addmonitor

Adds an existence monitor and trigger as defined in the

[<options>] -x <name>

DISMAN-EVENT-MIB.

<OID>

Valid <options> are:

[presentabsent

-c <comment> — adds a comment

changed]

-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 timeTickstimeStampdateAndTime

 

 

— 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

 

presentabsentchanged — indicates

 

 

whether the object being monitored is present,

 

 

absent, or has changed

 

 

delmonitor <name>

Removes the specified monitor from the configuration.

 

 

addevent [-c

Adds a notification event as defined in the

<comment>] <name>

DISMAN-EVENT-MIB.

<notification>

-c <comment> — adds a comment (optional)

[<OID...>]

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.

 

 

 

320818-A

Page 630
Image 630
Nortel Networks 4050 manual Options -x name, Oid, Comment name, Notification