Xymon Mailing List Archive search

.default. not working?

list Jon Dustin
Sat, 21 Apr 2012 12:13:27 -0400
Message-Id: <user-dae25346a76d@xymon.invalid>

Using testip was the whole point, because I wanted to apply that tag to a bunch of hosts. 
I decided to add tags to host entries instead. 
I do not use FQDN, and wondered if that might have something to do with testip. 
 Thanks for the suggestion though!

Please forgive typos - sent from a mobile device

On Apr 21, 2012, at 11:30, "Mark Mulligan <user-38c3a77fe0f7@xymon.invalid>" <user-38c3a77fe0f7@xymon.invalid> wrote:
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: =?utf-8?B?UmU6IFtYeW1vbl0gLmRlZmF1bHQuIG5vdCB3b3JraW5nPw====?> 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: =?utf-8?B?UmU6IFtYeW1vbl0gLmRlZmF1bHQuIG5vdCB3b3JraW5nPw====?> 
"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