

Working with Escalation Policy › How to Create Escalation Policy › Create Escalation Actions › Run a Command Action
Run a Command Action
You can create a policy action that automatically runs a command. The command must meet the following criteria:
- The command can run on the SA Manager server.
- The command returns a result that requires no user input other than that entered in the command. For example, a command that launches a user interface does not meet this criteria.
Follow these steps:
- Perform one of the following actions:
Select Tools, Escalation Policies and Actions, and click
on the Actions tab of the Escalation Policies and Actions dialog to create an action independent of an escalation policy.
- Select Execute Command from the Action Type drop-down list and complete the following fields:
- Enter an action name in the Action Name field.
- (Optional) Enter an action description in the Description field.
- Enter the full path of a command to run in the Command field. The command runs on the SA Manager server.
Consider the following items:
- You can right-click in most text fields to select expandable runtime tokens for alert details. These tokens are dynamically substituted when an action is performed on an alert.
- If you want to use the $[USM Web View URL] token, you first enable its use.
- If you want to use the $[Mobile UI URL] token, you first enable its use.
- If you want to use the CI user attribute tokens, you first set the attributes. For more information about setting CI user attributes, see the Implementation Guide.
- UI commands such as notepad.exe or cmd.exe are not supported.
- (Optional) If you want the action available now, select the Enabled option.
- Click OK.
The action is defined, and it appears on the Actions tab. If you defined the action in an escalation policy, it is automatically added to the policy.
Copyright © 2013 CA.
All rights reserved.
 
|
|