No graph from RRD data
    J.Rutten at rad.umcn.nl 
    J.Rutten at rad.umcn.nl
       
    Wed Nov 22 09:40:36 CET 2006
    
    
  
Hi all,
Following problem keeps me busy several days now....
I'm using hobbit 4.2.0.
I want to create a custom graph and use ncv to create the rrd file.
I receive data from a custom script on the client, a column "usage" appears on the hobbit display.
The rrd file is created, but no graph is created, what's wrong??
In the data is a parameter in the following format:
usage:1
 
hobbitserver.cfg is configured:
TEST2RRD="cpu=la,disk,.....,usage=ncv"
GRAPHS="la,disk,......,usage"
NCV_usage="usage:GAUGE"
This works fine, a file named usage.rrd is created.
Dump from usage.rrd:
<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1164183687 </lastupdate> <!-- 2006-11-22 09:21:27 CET -->
        <ds>
                <name> usage </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>
                <!-- PDP Status -->
                <last_ds> 1 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>
hobbitgraph.cfg is configured:
[usage]
        TITLE Usage
        YAXIS # Users
        DEF:u=usage.rrd:usage:AVERAGE
        COMMENT:\n
        GPRINT:u:LAST: \: %5.1lf (cur)
        GPRINT:u:MAX: \: %5.1lf (max)
        GPRINT:u:MIN: \: %5.1lf (min)
        GPRINT:u:AVERAGE: \: %5.1lf (avg)\n
Result: no graph is being displayed, what is missing or am I doing wrong?
Regards,
Johan Rutten
    
    
More information about the Xymon
mailing list