User guide

Using Trap Values in the PDU Configuring Trap Parsers
9-7
AlliedView NMS Administration Guide (Setting Up Fault Management)
$Source If the device corresponding to the source address contained by the trap received, has already been dis-
covered by AlliedView NMS, then this token will fetch the name of the parentManaged object, corre-
sponding to the interface object matching the source address of the received trap. If the device
corresponding to the source address of the trap received has not yet been discovered then the corre-
sponding IP address of the source address will be returned.
$Specific-
Type
This token will be replaced by the specific type of the received trap. Applicable only in the case of
SNMP v1 traps, or else replaced with a blank.
$Uptime This token will be replaced by the uptime value in the received trap.
$TrapOID This token will be replaced by the trap OID of the received trap. Applicable only in the case of SNMP
v2C traps, or else replaced with a blank.
$* This token will be replaced by all the variable bindings (both OID and variable values) of the received
trap. for example, for the following varbinds,
2.2.1.1.221 INTEGER 30 .1.3.6.1.2.1.1.1 STRING abc 2.2.1.1.1 INTEGER 10
the result will be: ifIndex: 30, sysDescr: abc, ifIndex: 10
$# This token will be replaced by all the variable binding values (only variable values and not OIDs) of the
received trap. For example, for the following varbinds,
2.2.1.1.221 INTEGER 30 .1.3.6.1.2.1.1.1 STRING abc 2.2.1.1.1 INTEGER 10
the result will be: 30, abc, 10
$N Here N is a non-negative integer. This token will be replaced by the (N+1)th SNMPvariable value in
the variable bindings of the received trap. The Index N starts from 0. For example, for the following
varbinds,
2.2.1.1.221 INTEGER 30 .1.3.6.1.2.1.1.1 STRING abc 2.2.1.1.1 INTEGER 10
and for %1, the result will be: abc
@* This token will be replaced by all the OID labels in the variable bindings of the received trap.
Example:
For the following varbinds,
2.2.1.1.221 INTEGER 30 .1.3.6.1.2.1.1.1 STRING abc 2.2.1.1.1 INTEGER 10
the result will be: ifIndex: sysDescr: ifIndex
@N This token will be replaced by the (N+1)th OID value in the variable bindings of the received trap. The
index count starts from 0. This token will be replaced by the (N+1)thOID label in the variable bindings
of the received trap. The index starts from 0. For example, for the following varbinds,
2.2.1.1.221 INTEGER 30 .1.3.6.1.2.1.1.1 STRING abc 2.2.1.1.1 INTEGER 10
and for @1, the result will be: sysDescr
$IP-Source This token will be replaced by the IP address corresponding to the source address of the trap received.
$IP-Agent This token will be replaced by the IP address corresponding to the agent address of the trap received.
Special Purpose Tokens - The associated Managed object should have been discovered already by Web NMS for using
the following special purpose tags (or tokens). This is applicable for all special purpose tags (or tokens) listed in this sec-
tion.
TABLE 9-3 Tokens to Access the Properties of the Trap PDU (Continued)
Token Description