Monitoring Studio: Acknowledging Alerts Using Alert Action

How to configure a customized alert action to acknowledge an alert after a certain amount of time.

Related Topics

Description

This article explains the procedure to configure a customized alert action to acknowledge an alert after a certain amount of time.

Procedure

To acknowledge the alert, you need to configure an alert action:

  1. Right-click the monitored object for which you wish to reset the value of a parameter
  2. Select KM Commands › Set Alert Action
  3. Select the parameter for which you need to acknowledge the alert and click Next
  4. Check Execute a PSL statement (advanced) and click Next
  5. Enter the following PSL Command line :
    sleep(x);  set("/%{OBJECT_CLASS}/%{OBJECT_ID}/%{PARAMETER_NAME}/active", 0);  set("/%{OBJECT_CLASS}/%{OBJECT_ID}/%{PARAMETER_NAME}/active", 2);

    Where: x is a countdown representing the time interval (in seconds) after which the command has to be executed

  6. Click Next
  7. Click Finish

Note: The above mentioned PSL command deactivates and reactivates the parameter. The parameter will alert again if the threshold is breached during the next collect.