Thanks Henrik, I am not using the --no-ares option so have put the dnslog entry in as you recommend.
Thanks and I'll let you know how I get on.
|\/|artin
-----Original Message-----
From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 09 October 2009 12:26
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Which DNS query is causing delays
In <user-f2650c92cc26@xymon.invalid>
"Ward, Martin" <user-2d33a6eb6a05@xymon.invalid> writes:
I have noticed recently that my bb-test runs are taking a long time to
complete, 6500 seconds instead of the maximum of 600. The info on the
bb-test results page shows that the DNS tests are taking most of the
time,
but I have around 200 of these, does anyone have any suggestions on
how
I can find out which DNS tests are causing the delays without having
to
click on every DNS test in all of my Xymon website?
Are you using a local DNS cache ? I would strongly recommend that you
do - the resolver library in Xymon is pretty aggressive, and has been
known to knock out DNS servers if you have many hosts (although 200
doesn't sound like an awful lot).
It shouldn't take that long unless you're using the standard resolver
library (i.e. you are running bbtest-net with the "--no-ares" option),
in which case Xymon cannot control the timeout for the DNS lookup.
Try running with the option "--dnslog=FILENAME", this will log those
DNS requests that fail. It is probably one of those.
Regards,
Henrik
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.