<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Found it. I read about the --timeout
option but I didn't know where to put it. I add it to the
[xymonnet] section in tasks.cfg<br>
<div class="moz-signature">
<title>Signature - Kris</title>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<style type="text/css">@import url('<a class="moz-txt-link-freetext" href="https://themes.googleusercontent.com/fonts/css?kit=wAPX1HepqA24RkYW1AuHYA">https://themes.googleusercontent.com/fonts/css?kit=wAPX1HepqA24RkYW1AuHYA</a>');ol{margin:0;padding:0}.c0{color:#990000;font-size:10pt;background-color:#ffffff;font-family:"Calibri";font-weight:bold}.c5{color:#990000;font-size:8pt;background-color:#ffffff;font-family:"Calibri"}.c1{color:#990000;font-size:10pt;background-color:#ffffff;font-family:"Calibri"}.c2{max-width:468pt;background-color:#ffffff;padding:72pt 72pt 72pt 72pt}.c4{text-decoration:underline}.c3{direction:ltr}.title{widows:2;padding-top:0pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:21pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}.subtitle{widows:2;padding-top:0pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-style:italic;font-size:13pt;font-family:"Trebuchet MS";padding-bottom:10pt;page-break-afte
r:avoid}li{color:#000000;font-size:11pt;font-family:"Arial"}p{color:#000000;font-size:11pt;margin:0;font-family:"Arial"}h1{widows:2;padding-top:10pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:16pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}h2{widows:2;padding-top:10pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:13pt;font-family:"Trebuchet MS";font-weight:bold;padding-bottom:0pt;page-break-after:avoid}h3{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:12pt;font-family:"Trebuchet MS";font-weight:bold;padding-bottom:0pt;page-break-after:avoid}h4{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:11pt;text-decoration:underline;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}h5{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:11pt;font-family:"Trebuchet MS";padding-botto
m:0pt;page-break-after:avoid}h6{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-style:italic;font-size:11pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}</style>
<br>
<p class="c3"><span class="c1">Thank you.</span></p>
<p class="c3"><span class="c1">------------------------------------------------</span></p>
<p class="c3"><span class="c0">Kris Springer</span></p>
<br>
</div>
On 8/8/2014 10:30 AM, John Thurston wrote:<br>
</div>
<blockquote cite="mid:53E5092F.606@alaska.gov" type="cite">On
8/8/2014 9:09 AM, Kris Springer wrote:
<br>
<blockquote type="cite">Where and how do I adjust the http
timeout? I have some content tests
<br>
that take a while to respond and I need to extend the time to
around 30
<br>
</blockquote>
<br>
I think it was discussed here recently that this is a server-wide
setting. See the xymonnet help file and look for the --timeout
option.
<br>
<br>
<blockquote type="cite">Determines the timeout (in seconds) for
each service that is tested. For TCP tests (those from
XYMONNETSVCS), if the connection to the service does not succeed
within N seconds, the service is reported as being down. For
HTTP tests, this is the absolute limit for the entire request to
the webserver (the time needed to connect to the server, plus
the time it takes the server to respond to the request).
Default: 10 seconds
<br>
</blockquote>
<br>
<unsolicited observation>
<br>
In my environment, if someone asked to repeatedly test an HTTP
resource which regularly required 30 seconds to respond, I'd ask
them to reconsider. Xymon should be monitoring a simple, important
resource. It is going to be requesting it frequently (5-minute
interval in my case). If their server can't deliver a simple,
important, frequently-requested resource in less than 30-seconds
they have problem.
<br>
<br>
If you _do_ extend the timeout, you should also examine the re-try
interval as part of XYMONNET-AGAIN.SH It would be unfortunate if
you start thrashing your servers by setting your timeout longer
than the retry interval.
<br>
</unsolicited observation>
<br>
<br>
</blockquote>
<br>
</body>
</html>