<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 March 2014 21:42, Henrik Størner <span dir="ltr"><<a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a>></span> wrote:<br><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">

It has been reported before, and is usually caused by the client data containing a very long list of network connections.</blockquote></div><br>Would it be possible to have xymond recognise a client data message that is compressed and auto-decompress it?  Then we could insert a "| gzip" into xymonclient.sh, and many of these problems would go away.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">In fact, having a generic pre-processor plug-in framework could be really useful beyond just compression.  It could perform authentication to compare status/data message signatures against public keys (or certs) stored in a xymon-hostkeys.cfg file, and reject messages that don't match the signing key for a host.  A plug-in for encryption would work the same way.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Or is this something that could be achieved by writing a custom channel handler?  I should be able to write a generic decompressor and then instantiate it by adjusting tasks.cfg to run:</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">xymond_channel --channel=client --log=/var/log/xymon/clientdata.log xymond_gunzip --log=/var/log/xymon/gunzip.log xymond_client<br></div><div class="gmail_extra">

<br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br></div></div>