Have you tried changing testip to noconn so that it does not try to resolve the IP address? The example in hosts.cfg does not use a testip.
Thanks,
Mark
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jon Dustin
Sent: Monday, April 16, 2012 3:23 PM
Cc: xymon at xymon.com
Subject: Re: [Xymon] .default. not working?
Can anyone think of a way I can debug the processing of hosts.cfg? For some reason my ".default." entry is not being read correctly, and no matter what I try Xymon complains.
Thanks for reading.
Sent from a mobile device, please excuse any typos.
-----Original Message-----
From: Jon Dustin [user-d8c63a8259c1@xymon.invalid]
Received: Monday, 16 Apr 2012, 8:27
CC: xymon at xymon.com [xymon at xymon.com]
Subject: Re: [Xymon] .default. not working?
"Jon Dustin" <user-d8c63a8259c1@xymon.invalid> 2012-04-16T08:27:57.783283 >>>
Nope, still not working:
0.0.0.0 .default. # testip NOPROPRED:+if_load NOPROPYELLOW:+if_load
(note - there are TABS on both sides of .default. - in case that makes a difference)
Thanks for reading.
On 4/16/2012 at 3:08 AM, in message
<user-7a51a54e1359@xymon.invalid>, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:
Try...
NOPROPRED:+if_load NOPROPYELLOW:+if_load
That's what I have in mine and it works.
Steve
On 16 April 2012 03:04, Jon Dustin <user-d8c63a8259c1@xymon.invalid> wrote:
No, my .default. is all on one line. Very perplexing!
--
Jon Dustin - Network Specialist
University of Southern Maine
Portland, ME XXX-XXX-XXXX
Steve Holmes 04/15/12 8:15 PM >>>
Is the .default. really on 3 lines? If so, that is your problem. Put
it all on one line.
Steve
Wherever you go, there you are.
On Apr 15, 2012, at 7:06 PM, "Jon Dustin" wrote:
Greetings -
I'm currently running Xymon v4.3.7, and having troubles getting the
".default." entry to work properly. Here is what I have configured:
page devs Network Devices
0.0.0.0 .default. # testip NOPROPRED:if_load
NOPROPYELLOW:if_load
(then a bunch of hosts below)
It seems the .default. entry is ignored (status IS propagated
upward),
*and* I see the following error in xymonnet:
dnsresolve - internal error, name '' not in cache
xymonnet: Cannot resolve IP for host
Am I misunderstanding the ".default." entry? Thanks for anything
you can
pass along.
--
Jon Dustin - Network Specialist
University of Southern Maine
Portland, ME XXX-XXX-XXXX