Xymon Mailing List Archive search

Sending client data without client installed

list Andy Smith
Wed, 31 Oct 2012 18:58:06 +0000
Message-Id: <user-29979887e9e0@xymon.invalid>

Raymond Lee wrote:
On Tue, Oct 30, 2012 at 6:03 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>> wrote:

    On 30-10-2012 21:22, Raymond Lee wrote:

        I have a Cisco ACS appliance that runs a CentOS-based OS.  I cannot
        install the Xymon client on it, but I can ssh to it from our Xymon
        server and run "show tech-support" to get the output of a long
        list of
        commands that include df -k, ps -aux, netstat -an, etc., and
        save the
        output to a file.
        [...] can I

        just send them to the Xymon server and have it magically know
        what to do
        with them to populate the disk, procs, and ports columns?


    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.

    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.


Yup, I was already going down that route while parsing the output from the Cisco ACS command.

 
    The way to send the data off to Xymon would then be

       xymon 10.0.0.1 "@" < datafile

    and your datafile would have to begin with a line

       client myhostname.linux cisco_acs

    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.

    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.


Wow, this worked perfectly!  I can see the columns on the webpage now.  Thanks, Henrik!


-Ray

 
    Regards,
    Henrik

    <

Maybe too late now, but I have had good success with this for various linux based appliances :-

http://tools.rebel-it.com.au/xymon-rclient/
-- 
Andy