Alert Policy: Example One

These alert policy examples give typical scenarios of why and how you would want to configure an alert policy. Examples Two and Three extend the alert policy in this example.

Your site wants a buzzer to activate in the data center when a certain hardware fault occurs.

To configure this alert policy

  1. Write an AMS pattern to recognize the hardware fault message. An action in this pattern sends a raise alert event report with the attribute EXT_ACTION_LIST that specifies the name of an action list.

  2. Create an alert policy and give it a name that distinguishes it from other alert policies.

  3. Add a serial template.

  4. Specify the Service Name and Network Name properties of the serial template to identify the location of the serial port the buzzer is connected to.

  5. Add an action list with the name specified in the event report of step 1.

  6. Add an action to this action list which refers to the serial template.

  7. Configure the action as follows in the details pane:

    • Select Raise as the Action Event property value.

    • Enter the ASCII string needed to turn the buzzer on as the Text property value.

  8. Save the alert policy.

  9. Activate the alert policy.

Later, the operations staff complains that they are tired of manually turning off the buzzer when the hardware fault is resolved. They would like the buzzer to shut off automatically.

To implement this change

  1. In the alert policy, add another action to the same action list named by the attribute EXT_ACTION_LIST. This action should refer to the same serial template, but define the action as follows in the details pane:

    • Select Clear as the Action Event property value.

    • Enter the ASCII string that turns the buzzer off as the Text property value.

  2. Save the updated alert policy.

  3. Reactivate the updated alert policy.