<div dir="ltr">Christoph<div><br></div><div>There's no limit on the client side. The log "Got oversized message, truncating at ..." comes from xymond running on the Xymon server.<div><br></div><div>The limit for client messages (where your [ps] output is being truncated) is defined by MAXMSG_CLIENT, set in xymonserver.cfg, as an integer for the number of kibibytes (ie, it's multiplied by 1024). The default MAXMSG_CLIENT is 512 (meaningĀ 524288 bytes).</div><div><br></div><div>You've probably set the value correctly, but something else is preventing it from being used. You can confirmĀ that it's set correctly with something like:</div><div><br></div><div><font face="monospace">$ xymoncmd --env=/etc/xymon/xymonserver.cfg env | grep MAXMSG_CLIENT<br></font></div><div><font face="monospace">MAXMSG_CLIENT=2048</font></div><div><br></div><div>If this gives the wrong value of 512, then there's something wrong with/in the file xymonserver.cfg. If this gives the correct value, your xymond probably just needs to be restarted so that it can pick up the configuration change.</div><div><br></div><div>On Linux you can view the environment of a running process in /proc/<pid>/env. This pseudo-file has null line terminators so running it through "strings" makes it more palatable:</div><div><br></div><div><font face="monospace">$ sudo -u xymon strings /proc/`pgrep -f '^xymond '`/environ | grep MAXMSG_CLIENT<br>MAXMSG_CLIENT=2048</font><br></div><div><br></div><div>If you don't get the value that's set in xymonserver.cfg, kill the xymond process and it'll restart using the current setting:</div><div><br></div><div><font face="monospace">$ sudo -u xymon pkill -f '^xymond '</font></div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 8 Mar 2022 at 16:48, Christoph Zechner <<a href="mailto:zechner@vrvis.at">zechner@vrvis.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
I've got a problem with a client running in local mode:<br>
<br>
from /var/log/xymon/xymonclient.log<br>
<br>
2022-03-08 06:40:22.713067 Got over-size message, truncating at 528383 <br>
bytes (max: 524288)<br>
2022-03-08 06:40:22.725069 Dropping (more) garbled data<br>
<br>
I already increased the following values on the xymon server:<br>
<br>
MAXMSG_CLIENT=2048<br>
MAXMSG_STATUS=2048<br>
<br>
but it does not seem to have any effect on my client, because some <br>
checks (procs e.g.) still show up red respectively do not show all the data.<br>
<br>
Is there any other value I have to adjust? Where is the limit of 524288 <br>
bytes defined on the client?<br>
<br>
Thanks in advance!<br>
<br>
Cheers<br>
Christoph<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>