Xymon Mailing List Archive search

stop using dns and /etc/hosts

list Asif Iqbal
Wed, 4 Mar 2015 07:41:32 -0500
Message-Id: <user-fdb8b982d270@xymon.invalid>

Use testip. man hosts.cfg
On Mar 4, 2015 7:32 AM, "Ian Diddams" <user-7fbf34ed5219@xymon.invalid> wrote:
I have a hosts.cfg entry

1.2.3.4 server1

where 1.2.3.4 is server1's INTERNAL IP address

but its conn check is red because xymon is actually trying to ping its
external, NATTed, address 5.6.7.8 which it cannot reach.

Its because DNS is resolving the IP 5.6.7.8

I can use a local hosts file entry to override that again, but I'd rather
have some way fo telling xymon to only use entries in hosts.cfg and ignore
native resolution.

How might i achieve that?

cheers

Ian