Xymon Mailing List Archive search

Dual-homed clients

3 messages in this thread

list Jeremy Laidman · Fri, 14 Jun 2013 14:33:57 +1000 ·
Folks

I have some devices with multiple IP addresses that I want to monitor.
 Actually, not quite true - we actually have two paths with different
static NAT, so each device can be contacted on either one of two IP
addresses.  As far as the Xymon server is concerned, there are two IP
addresses for the one device.

My problem is, what's the best day for me to set this up in Xymon.  I want
to know if a service goes down on either path.

At present, I simply list each IP address with a hostname suffix, like
these entries for "host147":

192.168.100.47 host147-a.example.com # ping smtp
192.168.200.47 host147-b.example.com # ping smtp

Is this the best I can do?

Cheers
Jeremy
list Larry Barber · Fri, 14 Jun 2013 08:12:27 -0500 ·
There's the 'conn' tag in hosts.cfg:

conn={best,|worst,}IP1[,IP2...]
              This adds additional IP-adresses that are pinged during the
normal "conn" test. So the normal "conn" test must  be  enabled  (the
              default) before this tag has any effect. The IP-adresses
listed here are pinged in addition to the main IP-address.

              When multiple IP\u2019s are pinged, you can choose if ALL
IP\u2019s must respond (the "worst" method), or AT LEAST one IP must
respond (the
              "best" setting). All of the IP\u2019s are reported in a
single "conn" status, whose color is determined from the result of pinging
the
              IP\u2019s and the best/worst setting.  The default method is
"best" - so it will report green if just one of the IP\u2019s respond to
ping.

Thanks,
Larry Barber


On Thu, Jun 13, 2013 at 11:33 PM, Jeremy Laidman
quoted from Jeremy Laidman
<user-71895fb2e44c@xymon.invalid>wrote:
Folks

I have some devices with multiple IP addresses that I want to monitor.
 Actually, not quite true - we actually have two paths with different
static NAT, so each device can be contacted on either one of two IP
addresses.  As far as the Xymon server is concerned, there are two IP
addresses for the one device.

My problem is, what's the best day for me to set this up in Xymon.  I want
to know if a service goes down on either path.

At present, I simply list each IP address with a hostname suffix, like
these entries for "host147":

192.168.100.47 host147-a.example.com # ping smtp
192.168.200.47 host147-b.example.com # ping smtp

Is this the best I can do?

Cheers
Jeremy

list Jeremy Laidman · Mon, 17 Jun 2013 16:08:50 +1000 ·
On 14 June 2013 23:12, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
There's the 'conn' tag in hosts.cfg:
Yes, thanks for that.  That'd work just fine.  But it only helps with ping
- I need to know about the availability of a range of services.

J