<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 31 January 2014 09:31, Andy Smith <span dir="ltr"><<a href="mailto:abs@shadymint.com" target="_blank">abs@shadymint.com</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">

<div dir="ltr"><div><div><div><div>I thought the answer was to create a client extension to send another ps listing as a client message with a unique Collector ID and run this as frequently as required</div></div></div></div>

</div></blockquote><div><br></div><div>Seems reasonable.  My first thought was that the RRD file is only going to accept new data every 5 minutes, and reject the rest.  However, that shouldn't stop xymond_client from generating alerts.</div>

<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 dir="ltr"><div><div><div><div>  When I do this, I find on the server that the client data does indeed get updated every minute but the extra ps listing (which I put in a section called '[ps]') is not apparently processed against analysis.cfg.  I know I can do this all on the client with a status message but I wanted to keep the configuration central and re-use the PROCS settings in analysis.cfg.<br>

</div></div></div></div></div></blockquote><div><br></div><div>Can you run xymond_client in debug mode?  If so, check the logs for "Client report from host ..." and/or "Duplicate client message at time ...".</div>

<div><br></div><div>Also, you could use "xymond_channel" in two windows, one to watch for the client message and the other to watch for the resultant status message that should be reporting the error condition.  If you get the first but not the second, then something in xymond_client is preventing the analysis.  To be explicit, run these in separate windows, as your xymon user:</div>

<div><br></div><div>xymond_channel --channel=client grep -A5 "^@@.*hostname"</div><div>xymond_channel --channel=status --filter=hostname grep -A5 "^@@."</div><div><br></div><div>The grep will show only the first 5 lines of each message, which is enough to give some context, and to see the first line of each message ("status bla bla is green" and "client/collectorID bla bla").</div>

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