<br><div class="gmail_quote">On Tue, Oct 30, 2012 at 6:03 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 30-10-2012 21:22, Raymond Lee wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I have a Cisco ACS appliance that runs a CentOS-based OS.  I cannot<br>
install the Xymon client on it, but I can ssh to it from our Xymon<br>
server and run "show tech-support" to get the output of a long list of<br>
commands that include df -k, ps -aux, netstat -an, etc., and save the<br>
output to a file.<br></div>
[...] can I<div class="im"><br>
just send them to the Xymon server and have it magically know what to do<br>
with them to populate the disk, procs, and ports columns?<br>
</div></blockquote>
<br>
If you modify the data you have to that the command outputs have the headers that Xymon expects - the "[df]", "[ps]" etc section markers, see the "client data" from one of your other servers - then there is a fair chance that it might work.<br>

<br>
In other words, if you can make your data look like what e.g. a Linux client would send, then it should work with Xymon.<br></blockquote><div><br><br>Yup, I was already going down that route while parsing the output from the Cisco ACS command.<br>
<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The way to send the data off to Xymon would then be<br>
<br>
   xymon 10.0.0.1 "@" < datafile<br>
<br>
and your datafile would have to begin with a line<br>
<br>
   client myhostname.linux cisco_acs<br>
<br>
The "linux" part means that it will be interpreted by the Linux client handler; "cisco_acs" defines the configuration "class" that you can optionally use in the analysis.cfg to write common rules for all of your ACS systems.<br>

<br>
The worst that can happen is that you won't see any statuses on your Xymon webpage; then we'll have to dig into the xymond/client/linux.c code to see how it is interpreted.<br></blockquote><div><br><br>Wow, this worked perfectly!  I can see the columns on the webpage now.  Thanks, Henrik!<br>
<br><br>-Ray<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Regards,<br>
Henrik<br>
<br>
______________________________<u></u>_________________<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" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</blockquote></div><br>