HP -UX B6941-90001 Administrator's Reference Manual page 292

Management server on hp-ux
Table of Contents

Advertisement

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
Returns one or more of the possible trap parameters
<$1>
that are part of an SNMP trap. (<$1> returns the first
variable, <$2> returns the second variable, etc.)
Returns all attributes greater than n as value strings,
<$\>1>
useful for printing a variable number of arguments.
<$\>0> is equivalent to $* without sequence numbers,
names, or types. Sample output: richie.c.com
Returns all attributes greater than n as name:value
<$\>+1>
string. Sample output: .1.2: richie.c.com
Returns the nth variable binding as name:value. (Note:
<$+2>
not valid in the command field.)
Sample output: .1.2: ritchie.c.com
Returns all attributes greater than n as [seq] name
<$\>-n >
(type): value strings. Sample output: [2] .1.2
(OctetString): kernighan.c.com
Returns the nth variable binding as
<$-2>
[seq] name-type:value. (Note: not valid in command
field.) Sample output:
[2] .1.2 (OctetString): ritchie.c.com
Returns the node which produced the trap.
<$A>
Sample output: ritchie.c.com
Returns the community of the trap.
<$C>
Sample output: public
Returns the event's category. Sample output: SNMP
<$c>
Returns the enterprise ID of the trap.
<$E>
Sample output: .1.3.6.1.4.1.11.2.17.1
Returns the enterprise object ID. Sample output:
<$e>
.1.3.6.1.4.1.11.2.17.1
292
Chapter 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Openview it

Table of Contents