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:
- Right-click the monitored object for which you wish to reset the value of a parameter
- Select KM Commands Set Alert Action
- Select the parameter for which you need to acknowledge the alert and click Next
- Check Execute a PSL statement (advanced) and click Next
- 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
- Click Next
- 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.
Related Topics
- Using Macros to Customize PATROL Event Alert Actions
- Monitoring Studio: Getting Automatically Notified by Email for an Error in a Log File
- How to Know Which Version of the Hardware Sentry KM is Currently Installed on Your System?
- Monitoring Disk Space on UNC Mounted Drives using Monitoring Studio
- Monitoring Studio: File Monitoring on Dynamic Files