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
Article Comments
Correct. SSH and HTTPS is not available on the Standby unit until it goes active and takes over for the primary unit.
Jul, 2014 - Permalink
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 :)
Jul, 2014 - Permalink
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.
Jul, 2014 - Permalink
Is SSH connectivity on the failover device only available when it steps in for the main device?
Jul, 2014 - Permalink