[Xymon] custom graph not showing up

Kevin Kelly kkelly at lifetouch.com
Tue Sep 27 20:39:16 CEST 2011


Got it working

 

My DEF statements were incorrect.

 

Had:

DEF:data=test.rrd:data01:AVERAGE

DEF:flash=test.rrd:flash01:AVERAGE

DEF:redo=test.rrd:redo01:AVERAGE

 

Needed to be:

DEF:data01=test.rrd:data01:AVERAGE

DEF:flash01=test.rrd:flash01:AVERAGE

DEF:redo01=test.rrd:redo01:AVERAGE

 

 

 

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Kevin Kelly
Sent: Tuesday, September 27, 2011 12:52 PM
To: xymon at xymon.com
Subject: [Xymon] custom graph not showing up

 

I am having trouble with my custom graph showing up.

 

Here are parts of my configuration:

 

Hobbitserver.cfg

TEST2RRD="...,test=ncv"

NCV_test="data01:GAUGE,flash01:GAUGE,redo01:GAUGE"

 

 

Hobbitgraph.cfg

[test]

        TITLE test 

        YAXIS % Used

        DEF:data=test.rrd:data01:AVERAGE

        DEF:flash=test.rrd:flash01:AVERAGE

        DEF:redo=test.rrd:redo01:AVERAGE

        LINE2:data01#FF0000:data01

        LINE2:flash01#00CCCC:flash01

        LINE2:redo01#00FF00:redo01

        COMMENT:\n

        GPRINT:data:LAST:data01\: %5.1lf%s (cur)

        GPRINT:data:MAX: \: %5.1lf%s (max)

        GPRINT:data:MIN: \: %5.1lf%s (min)

        GPRINT:data:AVERAGE: \: %5.1lf%s (avg)\n

        GPRINT:flash:LAST:flash01\: %5.1lf%s (cur)

        GPRINT:flash:MAX: \: %5.1lf%s (max)

        GPRINT:flash:MIN: \: %5.1lf%s (min)

        GPRINT:flash:AVERAGE: \: %5.1lf%s (avg)\n

        GPRINT:redo:LAST:redo01\: %5.1lf%s (cur)

        GPRINT:redo:MAX: \: %5.1lf%s (max)

        GPRINT:redo:MIN: \: %5.1lf%s (min)

        GPRINT:redo:AVERAGE: \: %5.1lf%s (avg)\n

 

Part of the rrd dump

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>

        <step> 300 </step> <!-- Seconds -->

        <lastupdate> 1317145277 </lastupdate> <!-- 2011-09-27 12:41:17
CDT -->

 

        <ds>

                <name> data01 </name>

                <type> GAUGE </type>

                <minimal_heartbeat> 600 </minimal_heartbeat>

                <min> NaN </min>

                <max> NaN </max>

 

                <!-- PDP Status -->

                <last_ds> 56 </last_ds>

                <value> 4.3120000000e+03 </value>

                <unknown_sec> 0 </unknown_sec>

        </ds>

 

        <ds>

                <name> flash01 </name>

                <type> GAUGE </type>

                <minimal_heartbeat> 600 </minimal_heartbeat>

                <min> NaN </min>

                <max> NaN </max>

 

                <!-- PDP Status -->

                <last_ds> 4 </last_ds>

                <value> 3.0800000000e+02 </value>

                <unknown_sec> 0 </unknown_sec>

        </ds>

 

        <ds>

                <name> redo01 </name>

                <type> GAUGE </type>

                <minimal_heartbeat> 600 </minimal_heartbeat>

                <min> NaN </min>

                <max> NaN </max>

 

                <!-- PDP Status -->

                <last_ds> 1 </last_ds>

                <value> 7.7000000000e+01 </value>

                <unknown_sec> 0 </unknown_sec>

        </ds>

 

The script send the following to xymon

 

data01 : 56

flash01 : 4

redo01 : 1

 

 

Can someone tell me what I am missing/

 

Thanks

 

Kevin

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
_____________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
_____________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110927/cbebdc01/attachment.html>


More information about the Xymon mailing list