User guide
Setting Up Fault Management Configuring Trap Parsers
917
AlliedView NMS Administration Guide
$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
section.
$AgentMO This tag (or token) facilitates the accessing of managed object properties.The tag can be used to
access any properties of the Parent managed object for the interface object corresponding to the
agent address of the received trap. (Fetching the Managed Object is similar to the $Agent tag
mechanism). For example, if the user wants to access the “pollInterval” property of the Parent
Managed object corresponding to the agent address of the received trap and then assign it to some
property of the Eventobject generated, the user should specify the tag as $AgentMO(pollInterval)
against the specific property of the Event.
Usage:- $AgentMO(PropertyName)
$IF-AgentMO This tag is similar to $AgentMO, except that the properties of the interface managed object’s
corresponding agent address of the received trap could be accessed using this tag. In the case of
SNMP V2c traps, it will be exactly the same as $IF-SourceMO.
Usage:- $IF-AgentMO(PropertyName)
$IF-Agent This is similar to $Agent, except for that it results in the interface managed object name
corresponding to the agent address of the trap received. In the case of SNMP V2c traps, it will be
exactly the same as $IF-Source.
Usage:- $IF-Agent
$SourceMO The tag can be used to access any properties of the Parent managed object for the interface object
corresponding to the source address of the received trap. (Fetching the Managed Object is similar to
the $Source tag mechanism). For example, if the user wants to access the “pollInterval” property of
the Parent Managed object corresponding to the source address of the received trap, in order to
assign it to some property of the Event, the user has to specify the tag as $SourceMO(pollInterval)
against the specific property of the Event.
Usage:- $SourceMO(PropertyName)
TABLE 9-3 Tokens to Access the Properties of the Trap PDU (Continued)
Token Description