Hi Rolf,
you can use 0.0.0.0 as the IP to force a DNS-lookup in all cases. Some (all?) versions of Xymon require the testip-flag to prevent DNS-lookups for the conn test. Something like
0.0.0.0 host.tld # testip
should do the trick for you.
Note that testip is for the conn-check only — the http-check for instance does not honour it (but that’s what you want anyway).
Cheers Thomas
On 22 Sep 2016, at 12:34, Rolf Schrittenlocher <schritte at ub.uni-frankfurt.de> wrote:
Hi,
in the man-page I read:
"The format of an entry in the hosts.cfg file is as follows:
IP-address hostname # tag1 tag2 ..."
is there a way to use "hostname hostname # ..." instead? Reason is monitoring a service where the IP often changes.
Thanks for help, Rolf
-- Mit freundlichen Gruessen Rolf Schrittenlocher
Lokales Bibliothekssystem Frankfurt Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 LBS: lbs at ub.uni-frankfurt.de Persoenlich: schritte at ub.uni-frankfurt.de
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon