Log Event Reports

This command action is used to write a message to an Operations Sentinel log. The operator can later display this message in Operations Sentinel Console.

Event Report Action-Text Format

"TYPE=LG | CLASS=object-class | INSTANCE=object-name " \
		" | APPL=application-name [| APPLQUAL=application-qualifier]" \
		" [| MSGTYPE=message-type] | TEXT=message-text"

For an explanation of the attributes CLASS, INSTANCE, APPL, APPLQUAL, MSGTYPE, and TEXT, see the Operations Sentinel Administration and Configuration Guide. See 4.2 for formatting information.

Example [SP-AMS]

The following example writes the following log entry to a log named test:

sample^aa> 08:53:36   Sample message text.

The event report action that generates the log entry is as follows:

ACTION EVENT-REPORT \
   "TYPE=LG │ CLASS=host │ INSTANCE=test │ APPL=sample │" \
   "MSGTYPE=aa │" \
   "TEXT=Sample message text."

Required Attribute Value Pairs

Table 4–4 lists the attribute value pairs required for sending a message to an Operations Sentinel log.

Table 8. Required Attribute Value Pairs for Log Event Reports

Attribute

Description

TYPE

Has the value of LG for a log request

CLASS

The object type

INSTANCE

The name of the log to which the message is written

APPL

Identifier associated with the logged message

TEXT

The text of the message that is recorded in the Operations Sentinel log


Optional Attribute Value Pairs

Table 4–5 lists the optional attribute value pairs.

Table 9. Optional Attribute Value Pairs for Log Event Reports

Attribute

Description

APPLQUAL

Further qualifies the application name

MSGTYPE

Identifies the message as a certain type for the log entry


It is suggested that you use sp-ams-database or cp-ams-database for application-name and \_DBNAME\ for application-qualifier.