[Xymon] creating custom graphs

Steve Brown sgb at pics.com
Wed Nov 12 19:54:27 CET 2014


If you want the graph included with the other graphs on the trends column, you must add it to the GRAPHS setting in the ~xymon/server/etc/xymonserver.cfg file.
            GRAPHS="la,disk,<... lots more ...>,xymonproxy,xymond,slab"
You might also need to add it to the line
TEST2RRD="cpu=la,disk ..."

Sorry I don't know about the rrd data question.
Steve

From: Elizabeth Jones [mailto:oogiejonz at yahoo.com]
Sent: Wednesday, November 12, 2014 12:42 PM
To: Elizabeth Jones; Xymon at xymon.com
Subject: Re: [Xymon] creating custom graphs

I have a follow up question - I'm now able to get an rrd file generated on my xymon server - woot!  But I don't have a graph to go along with it.  I'm using data message type and this is what is in my rrd file - I'm under the impression that this should create a graph that shows up in my trends page, but no graph on trends page. The value that I'm sending is solcpu : 2  (percent cpu used).  I'm guessing that is what is the the <last_ds> 2 </last_ds> field.  Does anyone know what the other fields are?

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1415817304 </lastupdate> <!-- 2014-11-12 12:35:04 CST -->

        <ds>
                <name> solcpu </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 2 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->


________________________________
From: Elizabeth Jones via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>>
To: "Xymon at xymon.com<mailto:Xymon at xymon.com>" <Xymon at xymon.com<mailto:Xymon at xymon.com>>
Sent: Tuesday, November 11, 2014 2:39 PM
Subject: [Xymon] creating custom graphs

I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data.  I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated.  For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs.  Can anyone point me toward any documentation for this?

thanks,
EJ

_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141112/5e61ae22/attachment.html>


More information about the Xymon mailing list