[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] IP address - from where?



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 <henrik (at) hswn.dk> 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
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe (at) xymon.dk
>
>
>