Dell 740N Laptop User Manual


 
Network Administration 4-5
+RZWR'HILQH7UDSV
You define or change a user-specified trap using the following
snmp traps
command:
WUDSVWUDSQDPHSDUDPHWHUYDOXH
trapname
is the name of the trap.
value
is the value that you assign to the definition.
parameter
must be a parameter listed in the Table 4-2.
7DEOH3DUDPHWHU'HVFULSWLRQV
3DUDPHWHU 'HVFULSWLRQ
var
A traps variable is the MIB variable that is queried
to determine the traps value. All MIB variables
must be specified in the form
snmp.
oid,
where
oid is an OID (Object Identifier). A list of OIDs in
the Dell MIB is in the
traps.dat
file in the same
directory as the MIB.
trigger
A traps trigger is a piece of code that determines
whether the trap should send data. The following
triggers are available:
single-edge-trigge
rsends data when the
traps target MIB variables value crosses an
edgea value that you specify.
double-edge-trigger
enables you to have
the trap send data when an edge is crossed in
either direction (the edges can be different for each
direction.
level-trigger
sends data whenever the traps
value exceeds a certain level.
edge-1
edge-2
A traps edges are the threshold values that are
compared against during evaluation to determine
whether to send data.
edge-1-direction
edge-2-direction
Edge-triggered traps only send data when the
edges are crossed in one direction. By default this
is UP for the first edge and DOWN for the second
edge. The direction arguments let you change this
default.
interval
The interval is the number of seconds between
evaluation of the trap. A trap can only send data as
often as it is evaluated.