Use an EVENT-REPORT action with TYPE=DE to delete an object that had been monitored by Operations Sentinel Console. Typically, the object being deleted was created by an earlier AC event report (see 4.7.1).
Event Report Text Format
"TYPE=DE | CLASS=[owner-class-name . ] ... class | " \ " INSTANCE=[owner-object-name . ] ... object-name | [HOST = host] "
For an explanation of the attributes CLASS, INSTANCE, and HOST see 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 delete the user "user1" owned by the system "sys1".
ACTION ALL EVENT-REPORT \ "TYPE=DE | CLASS=UNIX/Linux System . UNIX/Linux User | " \ "INSTANCE=sys1 . user1"
Example [CP-AMS]
The following example shows an event report sent to Operations Sentinel Console to delete 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=DE | CLASS=OS 2200 System . OS 2200 Tape | " \ "INSTANCE=$HOST$ . \_TOKEN3\"
Objects
An object maintained by Operations Sentinel can be hardware, such as a device attached to a managed host, or software, such as an application running on a host. Each object is uniquely identified by its host, class, and instance name. 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
Table 4–6 lists the attribute value pairs required for deleting an object.
Table 10. Delete Object Event Reports for Required Attribute Value Pairs
Attribute | Description |
---|---|
TYPE | Has a value of DE for deleting an object |
CLASS | The object class within an Operations Sentinel classification |
INSTANCE | The name of the object |