Attribute Change Event Reports

The purpose of this action is

Event Report Action-Text Format

"TYPE=AC | CLASS=[owner-class-name . ] ... class " \
    " | INSTANCE=[owner-object-name . ] ... instance [ HOST=host ] " \
    " [ |attribute-name=attribute-value ] ... "

An explanation of TYPE, CLASS, INSTANCE, HOST and attribute-name is provided in the Operations Sentinel Administration and Configuration Guide. See 4.2 for formatting information.

Example [SP-AMS]

The following example shows an event report sent to Operations Sentinel Console to change the values of the total blocks and percent of file system space used for the file system identified by the second token of the message that was matched. Variables are used to substitute information from the matched message.

ACTION EVENT-REPORT \
   "TYPE=AC │ CLASS=UNIX/Linux System . UNIX/Linux File System │ "\
   "INSTANCE=\_HOSTID\ . \_TOKEN2\ │"\
   "Total_Blocks=\_TOKEN3\ │ Percent_Used=\_TOKEN6 "%" 1\"

Example [CP-AMS]

The following example shows an event report sent to Operations Sentinel Console to change the values of the status and equipment mnemonic for the tape drive identified by the third token of the message that was matched and owned by the host identified by "$HOST$".

ACTION ALL EVENT-REPORT \
   "TYPE=AC | CLASS=OS 2200 System . OS 2200 Tape | " \
   "INSTANCE=$HOST$ . \_TOKEN3\ | STATUS=\_TOKEN5\ |" \
   "EQUIPMENT MNEMONIC=\_TOKEN7\"

Objects

An object maintained by Operations Sentinel Console can be hardware, such as a device attached to a managed host, or software, such as an application running on a host. The host, class, and instance name uniquely identify each object. The class and instance name come from the event report. If you do not specify the host in the event report; it defaults to the host that sent the matched message.

Required Attribute Value Pairs

The following attribute value pairs are required for changing an attribute and must be specified in the listed order:

Attribute

Description

TYPE

Has a value of AC for all attribute changes

CLASS

The object class within an Operations Sentinel configuration along with the qualifiers for any object that is not a system or server

INSTANCE

The name of the object along with the qualifiers for any object that is not a system or server

Optional Attribute Value Pairs

Site-Defined attributes of the object class, such as Topology image are optional.