Autoaction Concepts

You can include autoactions in patterns. The autoactions in a pattern are executed when the pattern matches a message.

Autoaction Types

The following autoactions can be included in both SP-AMS and CP-AMS databases:

CP-AMS allows these additional autoactions:

Activating or Deactivating a Database

You can define multiple databases for different times of the day or for different system conditions. You can define a pattern within a database to match a system message and include an autoaction in the pattern that deactivates the current database or activates another one.

Sending an Unsolicited Command to the Managed Host

You can define an autoaction to send a command back to the managed host when a message from that host matches the pattern containing the action. You can send a response to a system message or operating system command. In SP-AMS, you can also send a command that invokes a shell script. In all cases, the managed system receives the command as if the operator had entered it.

Sending an Event Report

You can define an autoaction that sends an event report. You can use such an event report to:

Changing the Value of a Variable

You can define actions that change the values of user-defined variables and of the members of variable groups. You can use these variables in the text of other actions, in expressions, and in conditional logic constructions. You can use variables to store information from previous messages and provide more flexibility, resulting in an autoaction database with more capabilities.

Conditional Logic

Using conditional logic in an autoaction database, you can define autoactions to be executed only when conditions you specify are true. You can also define autoactions to be executed only when conditions you specify are not true. You can use conditional logic and variables to match similar but different messages using the same pattern, thereby increasing the efficiency of the database.

Sending a Response to a Read-and-Reply Message [CP-AMS]

You can define an autoaction that sends a response to a read-and-reply message. Optionally, you can delay the response until another console message is received.

Generating a Console Alarm [CP-AMS]

You can define an autoaction that generates an alarm for the console. The alarm is sent to all OS 2200 Console Views connected to the console. How the alarm appears and sounds depends on the OS 2200 Console View alarm configuration. The alarm also causes an alert to be sent to Operations Sentinel causing it to be displayed in Operations Sentinel Console.

Inserting or Deleting a Message from the Hold Pane [CP-AMS]

You can define an autoaction that inserts or deletes a message from the OS 2200 Console View Hold pane.

Suppressing Specific Messages [CP-AMS]

You can define an autoaction to suppress a console message from the OS 2200 Console View Traffic pane and Hold pane.

Adding Supplemental Text to a Message [CP-AMS]

You can define an autoaction to display additional messages in the OS 2200 Console View Traffic pane and Hold pane. These messages can also be written to the Operations Sentinel log file for the partition.

Executing a Macro [CP-AMS]

You can define an autoaction to execute an OS 2200 Console View macro as if the operator had entered it. A macro is a sequence of OS 2200 keyins (commands) that are sent to the OS 2200 partition. You can also suppress the echo of the OS 2200 keyins in the OS 2200 Console View Traffic pane.