Previous Topic: Set Health StateNext Topic: Define an Action Sequence


Create a Custom Action

You can create customized action types by defining substitution parameters. Your custom action types are added to the Action Types drop-down list with the predefined action types.

Follow these steps:

  1. In the Explore pane, select the Data Center node.
  2. Click Resources, Policy, and then click the Custom Action Types tab.

    The Custom Action Types page appears.

  3. Click + (Add).

    The Custom Action Types: Add New section appears.

  4. Complete the following fields to define a new action type and a substitution parameter, and then click Save:
    Action Type Name

    Defines the name of the new action type.

    Command

    Defines the command line structure for the action type. You can define substitution parameters such as %SERVER%, $MYKEY$, and so on, for replacement as part of a command. Substitution keys can only be used once per command. For example, the %SERVER% substitution key can only be used once in a command.

    Substitution Key

    Defines a unique string for the substitution key. The substitution key name must match what is defined in the command. When defining multiple substitution keys, define each substitution key individually.

    Prompt

    Defines the argument name associated with the substitution parameter to input when creating actions.

    Default Value

    Defines the default substitution key value.

    The new parameter appears in the substitution parameter list.

  5. Select Save from the Actions drop-down list.

    The custom action type is saved.