In <user-4d9f326b31b0@xymon.invalid> "Ward, Martin" <user-2d33a6eb6a05@xymon.invalid> writes:
It will only log those DNS lookups that fail, not those that succeed.
OK, so it now seems likely that all the DNS tests are working, they are jus=
t taking a very long time to do it, so the question is: Is there an easy wa=
y to get the DNS resolving times for all my Xymon DNS queries without havin=
g to view every web page?
The only way I can think of would be to run bbtest-net with the "--debug"
option; that will log lines like (from the demo site):
2009-10-12 21:57:50 Adding hostname 'wifi.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'mail.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'www.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'webmail.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'news.hswn.dk' to resolver queue
2009-10-12 21:57:50 Processing 13 DNS lookups with ARES
2009-10-12 21:57:50 Got DNS result for host wifi.hswn.dk : 172.16.11.1
2009-10-12 21:57:50 Got DNS result for host mail.hswn.dk : 172.16.10.2
which shows that my DNS lookups take less than a second. You have to
do the subtraction manually to get the time spent on each lookup,
but it should still be fairly easy to spot those that are slow.
Regards,
Henrik