<div dir="ltr">On 26 February 2013 19:47, 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><div class="gmail_extra">

<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple">

<div><p class=""><span style="font-family:Arial;font-size:10pt">There are no messages regarding truncated data in the server
logs and the only message I can find on the client is the following,</span><br></p>

<p class=""><font face="Arial"><span style="font-size:10pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class=""><font face="Arial"><span style="font-size:10pt;font-family:Arial">2013-02-26 08:41:21 Write error while sending message to
bbd@xymonserver:1984<u></u><u></u></span></font></p>

<p class=""><font face="Arial"><span style="font-size:10pt;font-family:Arial">2013-02-26 08:41:21 Whoops ! bb failed to send message -
write error</span></font></p></div></div></blockquote><div><br></div><div style>Perhaps try running the client script manually like so:</div><div style><br></div><div style>$ cd ~xymon/client/bin</div><div style>$ sudo -u xymon ./xymoncmd</div>

<div style>$ time ./xymonclient.sh<br></div><div style><br></div><div style>This might show an error you didn't see before.  At the very least, it will give you an idea how long it takes to run/fail.  You might also run it as:</div>

<div style><br></div><div style>$ sh -x ./xymonclient.sh</div><div style><br></div><div style>Then see what takes all the time.</div><div style><br></div><div style>Perhaps you could run it through truss to see what system calls are being run when the connection closes.  Like so:</div>

<div style><br></div><div style>$ truss -f ./xymonclient.sh</div><div style><br></div><div style>It's likely to be caused by taking to long to transfer the data, either because the data is taking too long to transmit (eg duplex mismatch causing network errors) or because there's too much data to sent.  You could try increasing the timeout value for xymond on the server by adding "--timeout N" (from 5 to 60) in tasks.cfg.  The man page for xymond says the default is 10 seconds, but the code for v4.3.10 shows 30 seconds.</div>

<div style><br></div><div style>I don't think the server normally logs a message if it times out a connection in this way.  However if you turn on debug (by adding "--debug" in tasks.cfg) then it should log "No command for update_statistics" when this happens.</div>

<div style><br></div><div style>J</div><div style><br></div></div></div></div>