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 <didds3 at yahoo.co.uk> 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_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon