client change of IP...
list Ian Diddams
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
list Norbert Kriegenburg
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
list Scot Kreienkamp
That is the normal behavior, yes. Look into the testip argument for hosts.cfg if you want it to use the IP instead of DNS. Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
▸
From: Ian Diddams [mailto:user-7fbf34ed5219@xymon.invalid]
Sent: Thursday, October 11, 2018 7:26 AM
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
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Ralph Mitchell
This is one reason you might want to run a DNS cache on your Xymon server. Everything gets looked up, every time. Ralph Mitchell On Thu, Oct 11, 2018 at 7:46 AM Ian Diddams via Xymon <xymon at xymon.com> wrote:
---------- Forwarded message ---------- From: Ian Diddams <user-7fbf34ed5219@xymon.invalid> To: Xymon Mailing List <xymon at xymon.com> Cc: Bcc: Date: Thu, 11 Oct 2018 11:26:14 +0000 (UTC)
▸
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
---------- Forwarded message ----------
▸
From: Ian Diddams via Xymon <xymon at xymon.com>
To: Xymon Mailing List <xymon at xymon.com>
Cc:
Bcc:
Date: Thu, 11 Oct 2018 11:26:14 +0000 (UTC)
Subject: [Xymon] client change of IP...