Hello, how can i restart automatically the supervised machine when the ping sensor is warning using PRTG
Article Comments
Dear haliminfo
PRTG itself does not offer such option. However, you could use a notification trigger which starts an executable file. This can be a powershell script. That script could use a remote-powershell connection to send a reboot command (shutdown -r) to the target computer.
Please note that this solution might not be working all the time, because if the network connectivity fails, the remote powershell connection cannot be established.
Mar, 2017 - Permalink
thank you,
i try to edit some powershell script that i will add to my ping notification and hope that will work.
Mar, 2017 - Permalink
Dear haliminfo
PRTG itself does not offer such option. However, you could use a notification trigger which starts an executable file. This can be a powershell script. That script could use a remote-powershell connection to send a reboot command (shutdown -r) to the target computer.
Please note that this solution might not be working all the time, because if the network connectivity fails, the remote powershell connection cannot be established.
Mar, 2017 - Permalink