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

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

Votes:

0

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



1 Reply

Votes:

0

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]




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.