[hobbit] No graph from RRD data

J.Rutten at rad.umcn.nl J.Rutten at rad.umcn.nl
Wed Nov 22 11:25:40 CET 2006


Lars wrote:
"In GRAPHS= change usage to ncv"
Now I have a graph on the status page!

It's just now showing the right value. It should be "1" and the graph is showing "0".
Here's the status page from the test:
----------
green 22-11-2006 11:22:32,48 
 
usage:1 
-------------
I stripped the rest for debugging the right stuf.
So I guess your right that RRD isn't picking the right value.....

Johan

 



> -----Original Message-----
> From: Jones, Jason (Altrincham) [mailto:JasonAS_Jones at mentor.com]
> Sent: woensdag 22 november 2006 11:14
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] No graph from RRD data
> 
> 
> The RRD isn't picking up the right value, you put
> NCV_usage="usage:GAUGE" but in the rrd you're getting :
> 
> <ds>
>                 <name> usage </name>
>                 <type> DERIVE </type> <-- this is the default
> 
> Can you please send the output message hobbit displays for 
> this status.
> Also do you see a hyperlink at the bottom of the status 
> saying anything
> like ncv status graph?
> Jason.
> 
> -----Original Message-----
> From: J.Rutten at rad.umcn.nl [mailto:J.Rutten at rad.umcn.nl] 
> Sent: 22 November 2006 08: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
> 
> 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
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> 




More information about the Xymon mailing list