[hobbit] No graph from RRD data

Johann Eggers Johann.Eggers at teleatlas.com
Wed Nov 22 09:54:42 CET 2006



> -----Original Message-----
> From: J.Rutten at rad.umcn.nl [mailto:J.Rutten at rad.umcn.nl]
> Sent: Mittwoch, 22. November 2006 09:41
> To: hobbit at hswn.dk
> Subject: [hobbit] No graph from RRD data
> 
> 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


You have no LINE defined. 
Insert something like LINE2:u#FF0000:Users

> 
> Result: no graph is being displayed, what is missing or am I doing
wrong?
> 
> Regards,
> 
> Johan Rutten
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 




More information about the Xymon mailing list