Xymon Mailing List Archive search

IP address - from where?

list Vernon Everett
Tue, 20 Jul 2010 15:26:31 +0800
Message-Id: <user-5df869c251cd@xymon.invalid>

Hi Henrik

Thanks for that.
If I recall, about 2 or 3 years ago, it was you who told me that it first
does a name lookup.
Larry, sorry I didn't take you on your word. Although I was sure you were
right, it contradicted what we were seeing here.

Tried another test, and set the server IP to 0.0.0.0 in bb-hosts, and it all
went red again. :-(

It seems to resolve using nslookup on CLI, but not in bbtest.net
Eventually added the --no-ares option, and all is good in our again.

This is the second time I have seen this issue.
Any idea what causes it?

Cheers
     Vernon


On Tue, Jul 20, 2010 at 1:58 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
On Mon, 19 Jul 2010 16:36:12 +0800, Vernon Everett wrote:
Probably need some of the coder types to answer this one for me. For the
different network tests, where does Xymon get the IP address from?
If the host has a "testip", Xymon uses the IP in bb-hosts.

Otherwise it tries a DNS lookup on the hostname, and uses the IP returned
from that. If the DNS lookup fails, it will fall back to the IP listed in
bb-hosts.


Henrik