Hello,
If I have a remote probe connecting over an MPLS or VPN to our PRTG server, is it possible to failover to an internet connection? We already have the PRTG server and many probes over the internet. On the probes I usually configure the host name of the server (i.e. myprtg.com) and it resolves to the Public IP, however in this new probe, I would like it to resolve to a private IP address and if the the MPLS or VPN fails to connect over Internet. How can we make this possible, is it done at the local DNS or does PRTG have a similar feature?
Article Comments
You can't add a second server URL for the remote probe, i.e. the fallback needs to be done on the Windows level. Run a script periodically that checks MPLS/VPN availability and acts accordingly:
- PRTG Probe connects to my-awesome.prtg-server.com
- If the MPLS/VPN fails, modify the hosts file using Get-Carbon's Set-HostsEntry
- run ipconfig /flushdns
- Restart the probe service
Now, if the MPLS/VPN comes back online, you revert the changes via Reset-HostsFile and a probe restart. Note that you will have a gap within the monitoring data.
Kind regards,
Stephan Linke, Tech Support Team
Jan, 2018 - Permalink
You can't add a second server URL for the remote probe, i.e. the fallback needs to be done on the Windows level. Run a script periodically that checks MPLS/VPN availability and acts accordingly:
Now, if the MPLS/VPN comes back online, you revert the changes via Reset-HostsFile and a probe restart. Note that you will have a gap within the monitoring data.
Kind regards,
Stephan Linke, Tech Support Team
Jan, 2018 - Permalink