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


Resume a paused sensor based on the status of another sensor in the same group

Votes:

0

Your Vote:

Up

Down

Hello

We have a number of clients with "Secondary" routers, which when not in use, do not respond to ping due to the way these devices are load balancing.

What we would like to do is have the "Secondary" router in monitoring, but have it constantly paused, and then resume when the primary router stops responding to ping.

Primary Router goes down > Secondary Router resumes based on the status change of the Primary Router.

The best way I would see this to be possible would be a State Change Trigger; so for instance calling the API to "Pause" the Secondary for 1 minute, to in essence, resume the sensor when Router 01 goes down.

Is this possible, and if so, is there a way to do so without specifying the Sensor ID individually per device (i.e /api/pause.htm?id=objectid&pausemsg=yourmessage&action=0, is there a way to get Object ID to auto detect a device with say a certain name or tag convention as opposed to inputing the exact Object ID of the secondary)

ping-sensor state-trigger trigger

Created on Aug 16, 2018 3:08:57 PM by  Andrewbeds (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello Andrew,

thank you for the KB-Post. The approach is a good one, however getting the IDs (to pause other objects) isn't really possible via tags or some such. The API calls need to be configured manually with the objects to pause. If you are using tags (with the secondary devices), an indirect approach may be, that first pulling a list of all sensors with the specified tag, to get their IDs, and then iterate over this list of IDs with API calls to pause / resume them.

best regards.

Created on Aug 17, 2018 11:15:46 AM by  Torsten Lindner [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.