We just ran into this same problem and removing the 'dns' tag from one DNS server (non-production) which wasn't working reduced the time to do the DNS tests from over 300 seconds to 22. This was after already tuning the options on the xymonnet call. <br>

<br>Also, WRT the unknown option --timelimit, we think that in (4.3.7) xymonnet.c starting at line 2011:<br><br><span style="font-family:courier new,monospace">    else if (strcmp(argv[argi], "--timelimit=") == 0) {</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">      char *p = strchr(argv[argi], '=');</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">      p++; runtimewarn = atol(p);</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">    }</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    else if (strcmp(argv[argi], "--huge=") == 0) {</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">      char *p = strchr(argv[argi], '=');</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">      p++; warnbytesread = atoi(p);</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">    }</span><br><br>Both of the strcmp calls should be argnmatch. The second one is for a different option, of course, but it probably would get the same error without this fix. Note, I haven't tested this, but I'm pretty confident that it is right.<br>

<br>Steve<br><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 5:55 PM, Poppy, Ben <span dir="ltr"><<a href="mailto:poppy.ben@marshfieldclinic.org" target="_blank">poppy.ben@marshfieldclinic.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any progress on this by chance?<br>
<div class="im HOEnZb"><br>
-----Original Message-----<br>
From: <a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a> [mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] On Behalf Of Poppy, Ben<br>
</div><div class="HOEnZb"><div class="h5">Sent: Thursday, August 25, 2011 8:39 PM<br>
To: <a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>; <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
Subject: Re: [Xymon] Xymond and xymonnet quirks<br>
<br>
Any progress on this issue by chance? Or is there any way to raise the time limit that it alerts at? I did try putting in the following one at a time in the xymonnet CMD line:<br>
<br>
--no-ares<br>
--timeout=500<br>
--timelimit=500<br>
--ping-tasks=10<br>
<br>
None of them seemed to have had any effect (--timelimit said it wasn't a valid option as well, but that's what is listed in the MAN page)..<br>
<br>
I'm ok with the tests taking a while, we don't seem to have an issue. Just want that yellow alert to get off the nongreen page, so our OPs staff stops bugging me about it :)<br>
<br>
Thanks<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a> [mailto:<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>]<br>
Sent: Friday, August 19, 2011 6:37 AM<br>
To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
Cc: Poppy, Ben<br>
Subject: Re: [Xymon] Xymond and xymonnet quirks<br>
<br>
On Thu, 18 Aug 2011 21:59:32 +0200, Henrik Střrner <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:<br>
> On 18-08-2011 21:58, Poppy, Ben wrote:<br>
>> Will do. Any ideas on the DNS Tests item?<br>
><br>
> I'm looking into it. Not sure yet if it is caused by Xymon, or by the<br>
> upgrade of the C-ARES library (which is used for all of the DNS stuff).<br>
<br>
Think I got it now. Would You mind trying out this patch for me ? To<br>
apply:<br>
<br>
  cd xymon-4.3.4<br>
  patch -p0 < /tmp/dns-timeout.patch<br>
  make<br>
  cp -p ~xymon/server/bin/xymonnet ~xymon/server/bin/xymonnet.orig<br>
  cp xymonnet/xymonnet ~xymon/server/bin/<br>
<br>
This should enforce the normal timeout-setting for DNS tests also.<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
______________________________________________________________________<br>
The contents of this message may contain private, protected and/or privileged information.  If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within.  Please contact the sender and advise of the erroneous delivery by return e-mail or telephone.  Thank you for your cooperation.<br>


_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
______________________________________________________________________<br>
The contents of this message may contain private, protected and/or privileged information.  If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within.  Please contact the sender and advise of the erroneous delivery by return e-mail or telephone.  Thank you for your cooperation.<br>


_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="font-size:13px;background-color:rgb(255,255,255)">If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958) </span><br>

</span></font><br>I prayed for freedom for twenty years, but received no answer until I 
prayed with my legs. -Frederick Douglass, Former slave, abolitionist, 
editor, and orator (1817-1895)
<br></div><br>