Xymon Mailing List Archive search

Monitoring IP change

2 messages in this thread

list David Hay-Currie · Mon, 14 May 2018 20:56:55 +0000 ·
I have a few remote locations that I monitor with Xymon.
What would be the best way to monitor IP address change?
I have a FQDN for all of these locations, and I can ping since they are in a VPN setup, but I want to know when the public IP address changes
For example lets say location A has IP address 69.142.169.192 and I a FQN of locationA.monitoringsystem.com
I monitor the fqdn already with 0.0.0.0. If I add the IP address will it let me know when it changes?
list Fran Garcia · Tue, 15 May 2018 09:01:28 +0200 ·
an approach might be:

- write a custom test and deploy on a host in locationA
- The script should poll their public IP (eg, by fetching
icanhazip.com) and save it on a file
- Compare their current IP with a previous run
- if IPs differ, report locationA,example,com.IPChange as yellow and
report old and new IPs
- if IPs equal, report green

HTH

Fran

On 14 May 2018 at 22:56, David Hay-Currie
quoted from David Hay-Currie
<user-055e85dac309@xymon.invalid> wrote:
I have a few remote locations that I monitor with Xymon.

What would be the best way to monitor IP address change?

I have a FQDN for all of these locations, and I can ping since they are in a
VPN setup, but I want to know when the public IP address changes

For example lets say location A has IP address 69.142.169.192 and I a FQN of
locationA.monitoringsystem.com

I monitor the fqdn already with 0.0.0.0. If I add the IP address will it let
me know when it changes?