Xymon Mailing List Archive search

Custom graph missing

1 message in this thread

list Sam Przyswa · Mon, 01 Oct 2007 16:34:39 +0200 ·
Hi Hobbit users,

I create à custom monitor script to check lm-sensors temperatures from Linux boxes named "sensors" the data are sent by the remote client as:

CPU-1 Tmp : 21.88
Brd Tmp : 19.12
CPU-2 Tmp : 22.38 > 17 reached! (Warnlevel Yellow)

To respect the name-colon-value formatted report

This is well displayed on the machine's monitor page and the alerts are sent by mail as well, but the graph is not create in monitor and trends page. I put on server in hobbitserver.cfg

TEST2RRD="cpu=la,...,sensors=ncv

GRAPHS="...,ncv,...,sensors

NCV_sensors="*:GAUGE"

The sensors.rrd dump give:

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1191248506 </lastupdate> <!-- 2007-10-01 16:21:46 CEST -->

        <ds>
                <name> CPU1Tmp </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 2.2662800000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> BrdTmp </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 2.0797200000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> CPU2Tmp </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 2.3722800000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>
[...]

And in the hobbitgraph.cfg I have:

[sensors]
        FNPATTERN sensors.(.+).rrd
        TITLE Temperature
        YAXIS Celsius
        DEF:p at RRDIDX@=@RRDFN@:temperature:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n


What I have missed ?

Thanks for your help.

Sam.


-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.