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

Is it possible to configure a trigger which "execute a program" throgh the PROBE?

Votes:

0

Hello,

We monitor a big environment and its links. As everytime an Internet/Private LINK goes down we need to manually switch settings to keep connectivity alive, we decided to configure notificantions on PRTG. Everytime the sensor of a LINK goes down for X time, it starts a trigger which has "execute a program" as an action. The problem is: The program (Which connects to a device and switch the settings we need) is executed locally on the core which has no direct connectivity with the environment. Is it possible to configure it to execute through the PROBE intead of the core?

core-server notification probe

Created on Nov 15, 2013 9:26:37 PM



5 Replies

Votes:

0

Hi,
no, notifications can only be executed by the PRTG core. Sorry.
There is some kind of workaround but PRTG is not designed to do this so this is some kind of ugly.
Please create a sensor on the probe which is executing your script and pause the same. Now create a notification which does an API call to unpause the sensor and one to pause it again.
You can now use the two notifications to unpause the sensor to run on failure and to pause it again when the sensor is up again.
As mentioned, this is some kind of ugly but the only way to go.
Best regards

Created on Nov 18, 2013 7:26:52 AM by  Konstantin Wolff [Paessler Support]



Votes:

0

Could this work with just a run once instead of a resume and pause?

Created on Nov 18, 2013 11:11:43 PM



Votes:

0

Hi,
I'm afraid here only pausing and resuming will work as a sensor cannot be set up to run only once. Sorry.
Best regards

Created on Nov 19, 2013 12:51:07 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

Sorry I guess I should have said "Check Now". However it looks like that is not an option on a sensor that is paused.

Created on Nov 21, 2013 7:30:44 PM



Votes:

0

You are correct. The only way here is to unpause the sensor and then pause it again.
Best regards

Created on Nov 21, 2013 8:39:38 PM 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.