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


Run a SSH script when SSH script sensor is in Down state

Votes:

0

Your Vote:

Up

Down

I have a SSH script sensor setup on a Linux box that monitors for certain conditions. When the sensor goes down, I would like it to run another script, periodically, until it achieves the desired result. Is this possible?

linux prtg ssh

Created on Apr 17, 2018 3:50:23 PM by  MiMar (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there!

The only option I am aware of would be to use a Notification, triggered by a State Trigger, which then executes a program/script. I am afraid though that it won't be possible to re-run this script periodically by PRTG.

If you want to implement such Notification, please first copy your script into the "\Notifications\EXE" folder (standard path: C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE). Afterwards please create a new notification (Setup | Account Settings | Notifications), choose "Execute Program" as an action and pick your script/program.

I hope this helps.


Kind regards
Andreas Günther, Technical Support

Created on Apr 18, 2018 10:53:32 AM 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.