I want PRTG to execute a remote service restart or server restart when a sensor is down. For example when an HTTP sensor goes down and stays down for 5 minutes I like to restart the httpd service. Is this possible?
Execute Linux service restart on sensor down
Modified on 2025-06-10 14:34:33 +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.
Hi,
you may use the Execute Program notification in addition to a script which triggers the restart of the service via plink. A detailed guide how a command can be executed remotely with plink can be found here.
Best regards
Dec, 2012 - Permalink