Xymon Mailing List Archive search

client change of IP...

list Norbert Kriegenburg
Thu, 11 Oct 2018 14:23:51 +0200
Message-Id: <user-391591d5f545@xymon.invalid>

HI Ian,

you can use the "testip" in hosts.cfg for that host to prevent the dns
lookup.
Or, if you want this as a general setting, add "--dns=ip" at the xymonnet
section in tasks.cfg (no restart is needed).

For details please check "man hosts.cfg" or "man xymonnet"

HTH

Norbert


From:	Ian Diddams via Xymon <xymon at xymon.com>
To:	Xymon Mailing List <xymon at xymon.com>
Date:	10/11/2018 01:46 PM
Subject:	[Xymon] client change of IP...
Sent by:	"Xymon" <xymon-bounces at xymon.com>


----- Message from Ian Diddams <user-7fbf34ed5219@xymon.invalid> on Thu, 11 Oct 2018
11:26:14 +0000 (UTC) -----
                                                
      To: Xymon Mailing List <xymon at xymon.com>  
                                                
 Subject: client change of IP...                
                                                

xymon 4.3.28

learned something new today!

We have a xymon client  - lets call it FRED.  FRED has its IP changed and
so hosts.cfg is updated with the new IP.

BUT

the xymon conn test continues to use the previous IP to ping against.

It seems (my learning point!) that the conn test does NOT use the contents
of hosts.cfg...  but the dns resolution for the hostname (or at least
primarily).

Only when the DNS was updated did xymon then use the new IP for the conn
test.

Who knew?  (Well, not me bit I expect all you probably did!  LOL)

didds