For each automation definition, actions specify what happens when a filter is triggered. Table 14-4 lists the set of default actions supplied by the Operations Center.
Table 14-4 Default Automation Actions
Action |
Parameters |
---|---|
Start the gong. |
Plays an audio file, which can be configured. |
Stop the gong. |
Stops playing the audio file. |
Start chirping. |
Plays an audio file, which can be configured. |
Stop chirping. |
Stops playing the audio file. |
Generate the computer noise. |
Plays an audio file, which can be configured. |
You can define new actions.
Some automation actions must execute on the server, while other automation actions can execute on the client or the server. The following automation actions must execute on the server:
Mail element and alarm information
Mail element information
To use automation actions:
The Actions tab provides predefined actions that occur when triggered by a filter. You can define additional actions as needed.
Table 14-5 lists the different types of automation actions. Many automation actions require additional parameters, such as a sender and recipient e‑mail address.
Table 14-5 Types of Automation Actions
Action |
Parameters |
---|---|
Mail element and alarm information. |
|
Mail element information. |
|
Open alarm pop up window. |
Alarm detail field #1 (optional). Specify an alarm column name to show in addition to the standard Operations Center alarm columns. Alarm detail field #2 (optional). Maximum alarms to keep in pop up. Default is 100 (optional). Alarm message expression (optional). Specify a regular expression to display a portion of the alarm description. If any text in the alarm description matches the regular expression, it is displayed with the alarm. Otherwise or if left blank, the entire alarm description is displayed. For example:
|
Page element. |
|
Play an audio clip. |
Name of audio file. Options:
|
Post alarm to tec. |
|
Post to tec. |
|
Run a predefined script from the script library. |
Library script name Script parameters and setup code. The script name must be unique. If two identical script names are in different directories, you must rename one of the scripts. Otherwise, errors occur when the script is run. |
Run a script. |
Script code. For more information about creating scripts and script selections, see the Operations Center 5.5 Scripting Guide. |
Stop a running audio clip. |
Name of audio file. |
The Open Alarm Pop-up Dialog Box action is valid for client automations only, meaning those configured for a user or group. It is invalid for automations on the Automation Server.
The Open Alarm Pop-up Dialog Box action is invalid for the following automation filters, because the Open Alarm Pop-up Dialog Box action explicitly assumes that it is displaying an alarm, as suggested by its name. The filters match events that are not produced directly by an alarm:
Element at CRITICAL condition
Element at MAJOR condition
Element at MINOR condition
Element at INFORMATION condition
Element at OK condition
The element’s condition changes
New automation actions are available to select when creating automation definitions.
To define an automation action:
In the Explorer pane, expand Administration.
Right-click Automation, then select Properties to open the Status property page.
In the left pane, click Automation to open its property page.
Click Change to open the Automation Event Administration dialog box:
Click the Actions tab.
Click the Configurations drop-down list, then select the user, group, or the Automation server for which the action is available.
Click New.
Specify a name for the action in the Action Name field.
Click the Action Type drop-down list, then select an action to be performed when the event is triggered.
Depending on the action selected, additional drop-down lists and options lists display for selection.
Select the appropriate parameters for the action.
Click Apply.
The action displays in the Defined Actions section.
It is possible to modify actions, such as changing the audio file or script associated with a particular action. You can also set a default behavior for updated automations.
To update an automation action:
In the Explorer pane, expand Administration.
Right-click Automation, and select Properties to open the Status property page.
In the left pane, click Automation to open its property page.
Click Change to open the Automation Event Administration dialog box.
Click the Actions tab.
Click the Configurations drop-down list, and select the user, group, or Automation Server that the action is available for.
Select the action to modify.
Edit the action parameters.
Click Apply to save the changes.
By default, all automation actions that monitor changes in element conditions are performed when any of these automations is modified, even when no element condition change occurs. The default setting is:
Automations.element.change.never.fires=false
To modify this setting:
Open the formula.properties file.
Change the setting to True to prevent automatic execution of all automation actions related to element condition changes when any of them is updated.
To delete an automation action:
In the Explorer pane, expand Administration.
Right-click Automation, and select Properties to open the Status property page.
In the left pane, click Automation to open its property page.
Click Change to open the Automation Event Administration dialog box.
Click the Actions tab.
Click the Configurations drop-down list, and select the user, group, or Automation Server for which the action is available.
Select an action, then click Remove.
Click Apply to delete the action.