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.
Also, WRT the unknown option --timelimit, we think that in (4.3.7)
xymonnet.c starting at line 2011:
else if (strcmp(argv[argi], "--timelimit=") == 0) {
char *p = strchr(argv[argi], '=');
p++; runtimewarn = atol(p);
}
else if (strcmp(argv[argi], "--huge=") == 0) {
char *p = strchr(argv[argi], '=');
p++; warnbytesread = atoi(p);
}
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.
Steve
On Tue, Nov 8, 2011 at 5:55 PM, Poppy, Ben
<user-1ce99a2a9ef8@xymon.invalid>wrote:
Any progress on this by chance?
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Poppy, Ben
Sent: Thursday, August 25, 2011 8:39 PM
To: user-ce4a2c883f75@xymon.invalid; xymon at xymon.com
Subject: Re: [Xymon] Xymond and xymonnet quirks
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:
--no-ares
--timeout=500
--timelimit=500
--ping-tasks=10
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)..
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 :)
Thanks
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, August 19, 2011 6:37 AM
To: xymon at xymon.com
Cc: Poppy, Ben
Subject: Re: [Xymon] Xymond and xymonnet quirks
On Thu, 18 Aug 2011 21:59:32 +0200, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
On 18-08-2011 21:58, Poppy, Ben wrote:
Will do. Any ideas on the DNS Tests item?
I'm looking into it. Not sure yet if it is caused by Xymon, or by the
upgrade of the C-ARES library (which is used for all of the DNS stuff).
Think I got it now. Would You mind trying out this patch for me ? To
apply:
cd xymon-4.3.4
patch -p0 < /tmp/dns-timeout.patch
make
cp -p ~xymon/server/bin/xymonnet ~xymon/server/bin/xymonnet.orig
cp xymonnet/xymonnet ~xymon/server/bin/
This should enforce the normal timeout-setting for DNS tests also.
Regards,
Henrik
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.
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.
--
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)
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)