Adding an Alert Action for an Event Defined in a Workflow (CLI)

This alert action is performed when the postalert function is called in a workflow, and the UUID of this alert action is specified. For more information, see Creating and Posting Custom Alerts from Within a Workflow.

Before You Begin

To perform this procedure, you must have the alerts allow_configure authorization.

  1. Go to configuration alerts actions and enter the create command.
  2. Set the category property to custom.
  3. Set the severity of the event that precipitated this alert action: Critical, Major, or Minor.
  4. Set a brief description of the event that precipitated this alert action.
  5. Optional: Set a response, impact, and recommended_action.
    • response - String that describes actions that will be performed by the system to mitigate the effects of this event.
    • impact - String that describes the effect that this event has on the appliance.
    • recommended_action - String that describes actions that the administrator should take to mitigate the effects of this event.
  6. Enter commit.
  7. Enter list to see the list of all configured alert actions.

    The new alert action should be at the bottom of the list, and should have a name (actions-###) and a category, but no action or handler.

  8. Select the new alert action.
  9. Set the alert handler. Enter action, and then enter get.

    The default handler is email. If you want a different handler, enter set handler= followed by a tab character to see the list of possible handlers.

  10. Set values for any handler arguments.
    1. Enter get again to see the list of arguments, if any, for the specified handler.
    2. Most of the actions have arguments. For example, you might have to specify an email recipient, dataset, or workflow.
  11. Enter commit.

    Enter list to confirm that the action is correct.

  12. Enter done.

    Enter list to view the list of actions.