New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Restart Linux Service based on PRTG alert

Votes:

0

Your Vote:

Up

Down

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.

health restart-service unix

Created on Nov 15, 2018 1:30:17 AM by  Sandeepreddy (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Created on Nov 15, 2018 12:41:02 PM by  Andreas Günther [Paessler Support]



Please log in or register to enter your reply.


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.