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

Dependencies

Votes:

0

Wondering if there is a way to have sensors from one Device control other devices. For example....High Availability. Two pieces of equipment with say SSH, but only one can be active at a time. Can I have SSH on device 2 unpause when SSH on device 1 goes down?

So far I can only make the dependency work within the same device.

Please advise.

Regards

dependency sensors

Created on Jul 25, 2014 11:26:27 PM



4 Replies

Votes:

0

Is SSH connectivity on the failover device only available when it steps in for the main device?

Created on Jul 28, 2014 12:58:41 PM by  Stephan Linke [Paessler Support]



Votes:

0

Correct. SSH and HTTPS is not available on the Standby unit until it goes active and takes over for the primary unit.

Created on Jul 28, 2014 1:00:51 PM



Votes:

0

Okay, then you could create two notifications with a HTTP request. One to unpause the standby SSH sensor when the main SSH is down and one to unpause it when it comes up again:

[Pause Notification] http://<prtg-server>/api/pause.htm?id=<sensor-id>&pausemsg=ha-down&action=0&username=<prtguser>&passhash=<passhash>

[Unpause Notification] http://<prtg-server>/api/pause.htm?id=<sensor-id>action=1&username=<prtguser>&passhash=<passhash>

Then add the notification to the main SSH sensor:

  • When the sensor is in a down state for 5 seconds -> [unpause]
  • When condition clears -> [pause]

You can test it by right clicking the main SSH -> "Simulate Error Status". Tested it on my PRTG instance and worked like a charm :)

Created on Jul 28, 2014 1:23:12 PM by  Stephan Linke [Paessler Support]

Last change on Jul 28, 2014 1:24:22 PM by  Stephan Linke [Paessler Support]



Votes:

0

Thank you for the information. I am traveling today, but will give it a go later in the week when I am back in the office.

Created on Jul 28, 2014 1:38:42 PM




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.