Morning, I have an issue with one of my Ubuntu servers, PRTG triggers an alert when the service I am monitoring fails, I am curious if when that happens can PRTG trigger a command to restart the server? And potentially even then email me it has restarted the server? Cheers.
Restart Server on Trigger
Modified on 2025-06-10 12:44:43 +0200
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Dear daven1985,
PRTG has no build-in function to restart that server. We develop PRTG so that one cannot easily perform actions on the computer as this can be a security risk. But you could do this:
For the email, you can try to send the email in that script as well, or send it with the same notification. Though in the latter case, the email will always be sent if the restart was successful or not.
Jun, 2018 - Permalink