Thanks Neil.  However, the method you use affects all xymonnet tests for the tagged server(s), not just the one causing you timeout problems.  In my case, it's unacceptable because it would delay more critical tests like ping tests, and it would take longer for me to find out when a server has gone off-line.<div>

<br></div><div>I just wish xymonnet supported a command-line switch to specify a list of tests to include and/or exclude.  Then I could do something like this:</div><div><br></div><div><font face="courier new, monospace">[sshnormal]<br>

        CMD xymonnet --report --ping --checkresponse --tests:ssh<br>        INTERVAL 5m<br><br>[sshslow]<br>        CMD ssh -c 'XYMONNETWORK=sshslow xymonnet --report --ping --checkresponse --tests:ssh'<br>        INTERVAL 10m</font></div>

<div><br></div><div>or similar.</div><div><br></div><div>J</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 7:50 PM, Neil Simmonds <span dir="ltr"><<a href="mailto:Neil.Simmonds@express-gifts.co.uk" target="_blank">Neil.Simmonds@express-gifts.co.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<u></u>
<u></u>
<u></u>
<u></u>
<u></u>





<div lang="EN-GB" link="blue" vlink="purple">


<div>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">I should have mentioned on the below
description that I am still running this at 5 minute intervals but just using
it for a bigger timeout as I have one test that can be a bit slow. It’s
actually an http test that can take more than the standard timeout. <u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">I’m sure this should be adaptable to SSH
tests.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a> [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Neil Simmonds<br>


<b><span style="font-weight:bold">Sent:</span></b> 28 June 2012 10:40<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Xymon] SSH test
checks too often for a device</span></font><span lang="EN-US"><u></u><u></u></span></p>

</div><div><div class="h5">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">I do this for certain ping tests.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">I have a slowtests.sh script in my ext
directory like this,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">#!/bin/sh<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">XYMONNETWORK="slowtests"<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">export XYMONNETWORK<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">$XYMONHOME/bin/xymonnet --report --ping --checkresponse
--timeout=20<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">Then my tasks.cfg has been changed so that
xymonnet has the –test-untagged option,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">[xymonnet]<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
ENVFILE /xymon/server/etc/xymonserver.cfg<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
NEEDS xymond<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
CMD xymonnet --report --ping --checkresponse --test-untagged<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
LOGFILE $XYMONSERVERLOGS/xymonnet.log<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
INTERVAL 5m<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">And I have a new entry at the bottom like
this,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">[slowtests]<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
ENVFILE /xymon/server/etc/xymonserver.cfg<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
NEEDS xymond<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
CMD $XYMONHOME/ext/slowtests.sh                         
<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
LOGFILE $XYMONSERVERLOGS/slowtests.log<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">       
INTERVAL 5m<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">Then all I do is add the tag
“NET:slowtests” to the tests that I only want to run every 20 minutes.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">I must admit though, that I’m not sure if
xymonnetagain would still pick up a failure from slowtests and start the 1m
retries. <u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue">Perhaps someone else can help on that. <u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:blue"><u></u> <u></u></span></font></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a> [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Jeremy Laidman<br>


<b><span style="font-weight:bold">Sent:</span></b> 28 June 2012 10:29<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b><span style="font-weight:bold">Subject:</span></b> [Xymon] SSH test checks
too often for a device</span></font><span lang="EN-US"><u></u><u></u></span></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hiya<u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I have a few devices on which I do an ssh check.  These devices
have some sort of self-defence mechanism and they throttle connecting to the
sshd process if they get failed connections (with no login) at too high a rate.
 Unfortunately, twice every 5 minutes (I have two Xymon servers) is
sometimes a bit too often, and once they start to fail, I'm guessing that
xymonnet-again.sh starts to hammer them every minute.  The devices are
appliances such that I cannot configure this behaviour.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I know there's a funky NET:location hack that can be used to adjust the
frequency of the net tests for nominated hosts, but I see no way to limit the
effect to only the ssh test, and so all tests will be slowed down.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Can anyone think of a better way to do this than the NET:location hack?
 I only want to slow down the ssh tests.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Cheers<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Jeremy<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

</div>

<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt">Name & Registered Office: EXPRESS GIFTS LIMITED, <u></u><u></u>2 GREGORY ST<u></u><u></u>, HYDE, <u></u><u></u>CHESHIRE<u></u>, <u></u>ENGLAND<u></u><u></u>,
SK14 4TH, Company No. 00718151.</span></font><u></u><u></u></p>

<div style="border:none;border-bottom:solid windowtext 1.5pt;padding:0cm 0cm 1.0pt 0cm">

<p class="MsoNormal" style="border:none;padding:0cm"><font size="1" face="Times New Roman"><span style="font-size:9.0pt">Express Gifts Limited is
authorised and regulated by the Financial Services Authority</span></font><u></u><u></u></p>

</div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt">NOTE: This email and any information contained within or attached in a
separate file is confidential and intended solely for the Individual to whom it
is addressed. The information or data included is solely for the purpose
indicated or previously agreed. Any information or data included with this
e-mail remains the property of Findel PLC and the recipient will refrain from
utilising the information for any purpose other than that indicated and upon
request will destroy the information and remove it from their records. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Findel PLC. If you are not the intended
recipient, be advised that you have received this email in error and that any
use, dissemination, forwarding, printing, or copying of this email is strictly
prohibited. No warranties or assurances are made in relation to the safety and
content of this e-mail and any attachments. No liability is accepted for any
consequences arising from it. Findel Plc reserves the right to monitor all
e-mail communications through its internal and external networks. If you have
received this email in error please notify our IT helpdesk on +44(0) 1254
303030<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt"><u></u> <u></u></span></font></p>

</div></div></div>

</div><div><div class="h5">



<span style></span>

<p class="MsoNormal"><span style="font-size:9.0pt">Name & Registered Office:
EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company
No. 00718151.</span></p>

<p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:9.0pt">Express
Gifts Limited is authorised and regulated by the Financial Services Authority</span></p>
<hr width="100%">

<p class="MsoNormal"><span style="font-size:9.0pt">NOTE: This email and any
information contained within or attached in a separate file is confidential and
intended solely for the Individual to whom it is addressed. The information or
data included is solely for the purpose indicated or previously agreed. Any
information or data included with this e-mail remains the property of Findel
PLC and the recipient will refrain from utilising the information for any
purpose other than that indicated and upon request will destroy the information
and remove it from their records. Any views or opinions presented are solely
those of the author and do not necessarily represent those of Findel PLC. If
you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or
copying of this email is strictly prohibited. No warranties or assurances are
made in relation to the safety and content of this e-mail and any attachments.
No liability is accepted for any consequences arising from it. Findel Plc
reserves the right to monitor all e-mail communications through its internal
and external networks. If you have received this email in error please notify
our IT helpdesk on <a href="tel:%2B44%280%29%201254%20303030" value="+441254303030" target="_blank">+44(0) 1254 303030</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt"><u></u> <u></u></span></p>

</div></div></div>

<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></blockquote></div><br></div>