Hello,
We have a HTTP advanced sensor that monitors the URL ( health check). When this health check fails we would like to restart a service. Can this be done using PRTG. It would be great if someone share the info or documentation .
Thanks.
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi Sandeepreddy,
Yes, that's possible. Please select the option "Execute Program" for the Notification you're using.
With this option you can execute a script or a program as an external process. It can be a Windows executable file or a BAT, CMD, or PowerShell file. You can use EXE, COM, BAT, CMD, VBS, or PS1 files.
Please find more information within the following link:
https://www.paessler.com/manuals/prtg/custom_notifications
I hope this helps. :)
Kind regards,
Andreas Günther
Tech Support, Paessler AG
Nov, 2018 - Permalink
Hi Sandeepreddy,
Yes, that's possible. Please select the option "Execute Program" for the Notification you're using.
With this option you can execute a script or a program as an external process. It can be a Windows executable file or a BAT, CMD, or PowerShell file. You can use EXE, COM, BAT, CMD, VBS, or PS1 files.
Please find more information within the following link: https://www.paessler.com/manuals/prtg/custom_notifications
I hope this helps. :)
Kind regards,
Andreas Günther
Tech Support, Paessler AG
Nov, 2018 - Permalink