Xymon Mailing List Archive search

creating custom graphs

list Ralph Mitchell
Wed, 12 Nov 2014 23:16:57 -0500
Message-Id: <CAAEjoCVqQEfkbgsp7o34X=user-ec33232a46f4@xymon.invalid>

The whole "solcpu"  DS block describes the data set being collected.
You'll need to check the manual pages on creating custom graphs and create
an entry in server/etc/graphs.cfg to match the column name and the solcpu
DS that you're reporting.

Ralph Mitchell


On Wed, Nov 12, 2014 at 1:54 PM, Steve Brown <user-a23886790dfc@xymon.invalid> wrote:
 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:user-a47755762131@xymon.invalid]
*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>
*To:* "Xymon at xymon.com" <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