HP (Hewlett-Packard) B6941-90001 Server User Manual


 
292 Chapter 5
Configuring ITO
Variables
<$*> Returns all variables assigned to the trap. Sample
output:
[1] .1.1 (OctetString): arg1 [2] .1.2
(OctetString): kernighan.c.com
<$@> Returns the time the event was received as the number
of seconds since the Epoch (Jan 1, 1970) using the
time_t representation. Sample output: 859479898
<$1> Returns one or more of the possible trap parameters
that are part of an SNMP trap. (<$1> returns the first
variable, <$2> returns the second variable, etc.)
<$\>1> Returns all attributes greater than n as value strings,
useful for printing a variable number of arguments.
<$\>0> is equivalent to $* without sequence numbers,
names, or types. Sample output: richie.c.com
<$\>+1> Returns all attributes greater than n as name:value
string. Sample output: .1.2: richie.c.com
<$+2> Returns the nth variable binding as name:value. (Note:
not valid in the command field.)
Sample output: .1.2: ritchie.c.com
<$\>-n > Returns all attributes greater than n as [seq] name
(type): value strings. Sample output: [2] .1.2
(OctetString): kernighan.c.com
<$-2> Returns the nth variable binding as
[seq] name-type:value. (Note: not valid in command
field.) Sample output:
[2] .1.2 (OctetString): ritchie.c.com
<$A> Returns the node which produced the trap.
Sample output: ritchie.c.com
<$C> Returns the community of the trap.
Sample output: public
<$c> Returns the event’s category. Sample output: SNMP
<$E> Returns the enterprise ID of the trap.
Sample output: .1.3.6.1.4.1.11.2.17.1
<$e> Returns the enterprise object ID. Sample output:
.1.3.6.1.4.1.11.2.17.1