Xymon Mailing List Archive search

DNS resolution

list Henrik Størner
Mon, 24 Jul 2006 22:55:30 +0200
Message-Id: <user-6faa6b51b745@xymon.invalid>

On Mon, Jul 24, 2006 at 03:35:47PM -0500, Brodie, Kent wrote:
Hi- by the way, my cluster stuff is finally working the way I want.
Thanks for putting up with my ignorance on how the hobbitd and bbproxy
stuff co-exist (or don't)!

In my bbtests column of my main server, I see:

DNS statistics:
 # hostnames resolved  :      141
 # succesful           :      136
 # failed              :        5
 # calls to dnsresolve :      183

.... any idea what's the easiest way for me to discern "which" of my 183
hosts are failing DNS resolution? 
The only way currently is to run bbtest-net with the --debug option, and
grep the output for "DNS lookup failed". I've been asked before, so I 
really should add some way of easily finding this information, or at
least provide a way of logging it.

BTW, you don't have 183 hostnames - you have 141. The 183 is the number
of times a hostname lookup was done, so some of them was via the cache
that bbtest-net has. This is because the same hostname may be needed for
multiple tests, e.g. if you use it in http url's that you test.


Regards,
Henrik