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?
Article Comments
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
Nov, 2013 - Permalink
Sorry I guess I should have said "Check Now". However it looks like that is not an option on a sensor that is paused.
Nov, 2013 - Permalink
You are correct. The only way here is to unpause the sensor and then pause it again.
Best regards
Nov, 2013 - Permalink
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
Nov, 2013 - Permalink