[Xymon] xymonnet alarm

Japheth Cleaver cleaver at terabithia.org
Thu Sep 1 23:38:36 CEST 2016


On 9/1/2016 12:34 PM, Foster Patch wrote:
>
> Hello,
>
> A change to how our DNS is configured has caused the DNS test on 
> xymonnet to reach around 50 seconds. Combined with the other tests, 
> the total time exceeds the time limit (60). Because of this, xymonnet 
> has been alarming for a very long time. Is there any way I can adjust 
> the time limit to account for this? (Bring it up to 80 instead of 60 
> for example) Here is our xymonnet section of tasks.cfg:
>
> [xymonnet]
>
>                ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg
>
>                NEEDS xymond
>
>                CMD xymonnet --report --ping --checkresponse 
> --dns-timeout=5
>
>                LOGFILE $XYMONSERVERLOGS/xymonnet.log
>
>                INTERVAL 1m
>
> Any advice would be appreciated.
>
> Thanks,
>
> Foster Patch
>
> Server Technician
>

Hi Foster,

The warning time passed in by xymonnet can be adjusted with the 
--timelimit= option given in the CMD above. By default, it's equivalent 
to the INTERVAL runtime (assuming xymonnet is run with one, which it 
usually is), since it's there to let you know that the testing interval 
isn't being met. You can also adjust that upwards to match the average 
time things are taking.

Unfortunately, DNS lookups-as-tests are handled differently from the 
other tests, and timeouts or network problems can increase xymonnet's 
runtime linearly with failures. Assuming the ones you're testing are the 
only ones you need to test (i.e., remove dead hosts), reducing 
'--dns-timeout' as low as you're comfortable with is the only other real 
tweak here. Enabling/disabling the test changes whether xymon considers 
an outage to be an alertable issue, but doesn't prevent xymonnet from 
checking (and waiting on) that service in the first place.

If you have a large number of these with different SLAs, or a huge 
number of DNS servers to test, there are advanced ways of setting up 
xymonnet runtimes to isolate these effects. Basically, you'd set up a 
separate instance of xymonnet just for doing DNS tests, while excluding 
them from your normal install.


HTH,
-jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160901/020d7b3b/attachment.html>


More information about the Xymon mailing list