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
I suggest that you insert spaces usage : 1
Lars ----- Original Message ----- From: <J.Rutten at rad.umcn.nl> To: <hobbit at hswn.dk> Sent: Wednesday, November 22, 2006 11:25 AM Subject: RE: [hobbit] No graph from RRD data
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Try the spaces thing, that's how mine are layed out though not sure if it makes a difference, but just to check when you put "In GRAPHS= change usage to ncv" what did you change? This should be what it looks like:
hobbitserver.cfg is configured: TEST2RRD="cpu=la,disk,.....,usage=ncv"
NCV_usage="usage:GAUGE" # I seriously doubt where this line goes makes
a
difference but that's where mine is
GRAPHS="la,disk,......,usage"
hobbitgraph.cfg is configured: [usage] TITLE Usage YAXIS Users DEF:u=usage.rrd:usage:AVERAGE LINE2:u#ff0000:Usage COMMENT:\n GPRINT:u:LAST:Usage\: %5.1lf (cur) GPRINT:u:MAX: \: %5.1lf (max) GPRINT:u:MIN: \: %5.1lf (min) GPRINT:u:AVERAGE: \: %5.1lf (avg)\n
The other thing to check is can you see the graph in the trends column? Jason. -----Original Message----- From: lars ebeling [mailto:lars.ebeling at leopg9.no-ip.org] Sent: 22 November 2006 10:53 To: hobbit at hswn.dk Subject: Re: [hobbit] No graph from RRD data
I suggest that you insert spaces usage : 1
Lars ----- Original Message ----- From: <J.Rutten at rad.umcn.nl> To: <hobbit at hswn.dk> Sent: Wednesday, November 22, 2006 11:25 AM Subject: RE: [hobbit] No graph from RRD data
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
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
participants (3)
-
J.Rutten@rad.umcn.nl
-
JasonAS_Jones@mentor.com
-
lars.ebeling@leopg9.no-ip.org