What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Execute Linux service restart on sensor down

Votes:

0

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?

linux prtg restart service

Created on Dec 24, 2012 9:48:10 AM



1 Reply

Votes:

0

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

Created on Dec 24, 2012 9:53:49 AM by  Konstantin Wolff [Paessler Support]




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.