beautypg.com

Logfile, console, and ito interface templates – HP UX B6941-90001 User Manual

Page 294

background image

294

Chapter 5

Configuring ITO

Variables

<$x>

Returns the date the event was received using the local
date representation. Sample output:

03/27/97

Logfile, Console, and ITO Interface Templates

The variables listed below can be used in most logfile, Console, and ITO
Interface template text entry fields (exceptions are noted). The variables
can be used within ITO, or passed to external programs.

<$OPTION(N)>

Returns the value of an optional variable that is set by
opcmsg or opcmon (for example,

<$OPTION(A)>

<$OPTION(B)>

, etc.). Refer to the opcmsg or opcmon

man page for information about how to set this
variable.

<$MSG_APPL>

Returns the name of the application associated with
the message. This name is set in the Message Defaults
section of the

Add/Modify Logfile

or

Add/Modify

Console Messages

windows. However, if a console

message already has a value for this field,

<$MSG_APPL>

is not overwritten by an entry in the

Add/Modify Console Messages

window. Sample

output:

/usr/bin/su(1) Switch User

<$MSG_GRP>

Returns the default message group of the message, as
set in the Message Defaults section of the

Add/Modify

Logfile, Add/Modify Console Messages,

Add/Modify Interface Messages

window.

Sample output:

Security

<$MSG_SEV>

Returns the default value for the severity of the
message. This is set in the Message Defaults section of
the

Add/Modify Logfile, Add/Modify Console

Messages, Add/Modify Interface Messages

window.
Sample output:

Normal

<$MSG_TEXT>

Returns the full text of the message. Sample output:

SU 03/19 16:13 + ttyp7 bill-root

<$MSG_TYPE>

Returns the default name set for Message Type. This is
set in the

Add/Modify Console Messages or

Condition No.

window.