This article applies to PRTG Network Monitor 7 or later
Acknowledge a Sensor in Down Status Automatically
Using PRTG's built-in API and placeholders, you can set up a HTTP Notification that acknowledges a sensor in "Down" status right away. Please follow the steps in this article.
Step 1: Create a HTTP Notification
In PRTG's web interface, goto Setup | Notifications, click on Add Notification, and set up a new notification with the following values:
- Notification Name: "Auto-Acknowledge Sensor Down"
- Add an Execute HTTP Action
- with the following content in the URL field:
http://10.0.0.30/api/acknowledgealarm.htm?id=%sensorid&ackmsg=Auto-Acknowledged&username=myusername&passhash=12345678
Please check if your web interface uses http or https and replace 10.0.0.30 by your PRTG server's IP address, and myusername and 12345678 by the values matching a PRTG user account with sufficient rights. You find the passhash in the user account settings. Instead of the passhash you can also use the password. Please see the API documentation for more details.
- Click on Save
You have successfully created a notification that will acknowledge an alarm when triggered by a sensor.
Step 2: Create a Notification Trigger
Choose a sensor you want to set up auto-acknowledging for. On the sensor's detail page, click on the Notifications tab. Click on Add State trigger and add a notification for a Down Condition and with the On Notification "Auto-Acknowledge Sensor Down". Click on Save.
Done.
When this sensor goes into a down state, the notification will be triggered and set the sensor to a "Down (Acknowledged)" status. In the sensor's message "Auto-Acknowledged" will appear. Note: Please make sure that no Proxy is involved here that could 'redirect' the HTTP Request from the PRTG Core to something else not PRTG itself
See Also
Add comment