New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.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


Auto-Pause/acknowledge alarm using PRTG API

Votes:

0

Your Vote:

Up

Down

We have a sensor that should be paused (yes, paused, not making requests through the network) right after it went down. For such, we created a notification with a HTTP Push type to a PRTG API call that pauses the sensor, as expected. The problem is that right after the pause ends, if the sensor is still down, it'll get into the notification again, and will be paused again, in an infinite cycle. Is there a way to make the notification be triggered only once with a sensor? We tried something similar with the auto acknowledge, but when it comes off the acknowledge, it'll count the down time again from 0, not the whole time (including the acknowledge time). Is it a logic problem or we can't achieve this with PRTG using notifications with HTTP Push?


Regards,

Jesus.

api automation pause prtg

Created on Sep 20, 2018 11:33:20 AM by  Jesus (10) 1



5 Replies

Votes:

0

Your Vote:

Up

Down

Hi Jesus,

I guess I understand your configuration - but how or why is the pause ending?

Please forward us a Screenshot of the sensor's "Notifications" and "Log" tab to [email protected] for further analysis. Please refer to the ticket PAE1092861.

Thank you!


Andreas Günther
Tech Support, Paessler AG

Created on Sep 21, 2018 12:55:01 PM by  Andreas Günther [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi Andreas, sorry for the delay. The pause ends because we setted it to last only 20 minutes (the time we need for it to test again). The point is: We need it to pause once, when the first down occurs. When the pause finishes, it should go to a down state, so our analyst can open a ticket about the down sensor.

Created on Sep 28, 2018 1:43:07 PM by  Jesus (10) 1



Votes:

0

Your Vote:

Up

Down

Is the goal to delay bringing the issue to the engineers attention for 20 minutes, or to avoid the act of PRTG scanning the device causing issues to your device or your network?

If the goal is deferring bringing the issue to the engineers attention, it may be worth considering adjusting the "When a sensor reports an error" property under the Scanning Interval section of the sensor. Obviously, to get a delay of 20 minutes you would likely need a scanning interval of around 5 minutes (configured with the 3 or 4 warnings then down setting)

If not, why exactly is the reasoning behind the underlying goal you are hoping to achieve?

Created on Sep 28, 2018 2:03:34 PM by  lordmilko (1,932) 2 1



Votes:

0

Your Vote:

Up

Down

The goal is to stop the sensor traffic for 20 minutes.

We need this approach because of our firewall's sessions. Sometimes, if the sensor does not query data for 20 minutes, and the alert was related to freezed firewall session, the sensor will be up again, because after 20 minutes it will use a new session, after the old one being closed. It's and automatic way to check if the problem is not network related, and if not, our engineer should then act in as an issue.


Regards,

Jesus

Created on Sep 28, 2018 6:41:42 PM by  Jesus (10) 1



Votes:

0

Your Vote:

Up

Down

Hi Jesus,

I'm afraid there is no solution for your particular application. Each time the sensor is resumed, a rescan is automatically performed - which will end up in the loop again. There is also no option to disable the rescan.

I'd like to be able to give you a better answer, thank you for your understanding!


Andreas Günther
Tech Support, Paessler AG

Created on Oct 2, 2018 9:12:33 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.