<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">We've had a similar problem with another service. Looking at the xymonnet man page, there doesn't appear to be a general timeout (http, yes, but not generally). I use an expect script (as an external test) where I can
 spawn a process (in this case the ldap call). I set a timeout in expect, so if the spawned connection hangs, the timeout triggers and terminates the connection.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of John Thurston <john.thurston@alaska.gov><br>
<b>Sent:</b> Thursday, September 20, 2018 7:48:59 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] xymonnet blocking</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>We've run xymon for years, and BB for years before that. We've recently <br>
bumped into a potential problem with xymonnet. In the middle of the <br>
night, all of our tests populated by xymonnet went purple. We think <br>
we've tracked the problem, and attribute it to an ldap query which took <br>
too long to respond. It looks like xymonnet just stopped while it waited <br>
for this query to complete. While it was waiting on this response, none <br>
of the other xymonnet tests were being performed.<br>
<br>
The man for xymonnet indicates there is a --timeout=N which determines <br>
how long to wait for a service to accept a connection. Is there some <br>
parameter which will control how long xymonnet can try to get an answer <br>
after connecting?<br>
<br>
<br>
-- <br>
Do things because you should, not just because you can.<br>
<br>
John Thurston 907-465-8591<br>
John.Thurston@alaska.gov<br>
Department of Administration<br>
State of Alaska<br>
_______________________________________________<br>
Xymon mailing list<br>
Xymon@xymon.com<br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div>
</body>
</html>