[hobbit] NCV grpah not displaying
Hi,
I'm trying to follow the description. At one place it says hobbitgraphs.cfg and I got hobbitgraph.cfg a typo I think.
Ok, I thought that it couuld be fun to see how my mailbox grows, so I created a script with the following output:
Sun Nov 20 16:34:20 MET 2005 hobbit : 23.4252
Then I changed in hobbitserver.cfg tohobbitserver.cfg:TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,nmailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,mailbox=ncv" hobbitserver.cfg:NCV_mailbox="hobbit:GAUGE" Mailbox is the columnname. Dump of mailbox.rrd gives:<!-- Round Robin Database Dump --> <rrd> <version> 0001 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1132500561 </lastupdate> <!-- 2005-11-20 16:29:21 MET --> <ds> <name> hobbit </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> 6.1136640000e+03 </value> <unknown_sec> 0 </unknown_sec> </ds> <!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> I get the following error in cgierror.log:cgierror.log:2005-11-20 16:34:48 hobbitsvc Setup error: Service mailbox has a graph ncv, but no graph-definition And no graph. Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist "Never run after your own hat. Others will be delighted to do it; why spoil their fun?" -- Mark Twain
On Sun, Nov 20, 2005 at 04:46:18PM +0100, lars ebeling wrote:
I'm trying to follow the description. At one place it says hobbitgraphs.cfg and I got hobbitgraph.cfg a typo I think.
Yep - fixed.
Ok, I thought that it couuld be fun to see how my mailbox grows, so I created a script with the following output:
Sun Nov 20 16:34:20 MET 2005 hobbit : 23.4252
Then I changed in hobbitserver.cfg to TEST2RRD="cpu=la,disk,inode [snip] hobbitd,mailbox=ncv" hobbitserver.cfg:NCV_mailbox="hobbit:GAUGE" Mailbox is the columnname.
I get the following error in cgierror.log: hobbitsvc Setup error: Service mailbox has a graph ncv, but no graph-definition
So what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with
[mailbox]
Regards, Henrik
Hi,
this I put in hobbitgraph.cfg:
ÄmailboxÅ TITLE Mailbox size YAXIS bytes DEF:size=mailbox.rrd:hobbit:AVERAGE LINE2:size#00CCCC:Hobbit size GPRINT:size:LAST:Hobbit size Ö: %5.1lf%s (cur) GPRINT:size:MAX: Ö: %5.1lf%s (max) GPRINT:size:MIN: Ö: %5.1lf%s (min) GPRINT:size:AVERAGE: Ö: %5.1lf%s (avg)Ön
Ä=[ Å=] Ö=\ that's my setup of vt-terminal.
But there are no values in mailbox.rrd:
/opt/rrd/bin/rrdtool dump mailbox.rrd ö pg
<!-- Round Robin Database Dump --> <rrd> <version> 0001 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1132555483 </lastupdate> <!-- 2005-11-21 07:44:43 MET -->
<ds>
<name> hobbit </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> 6.8064321510e+09 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> <xff> 5.0000000000e-01 </xff>
<cdp_prep>
<ds><value> NaN </value> <unknown_datapoints> 0
</unkno wn_datapoints></ds> </cdp_prep> <database> <!-- 2005-11-19 07:45:00 MET / 1132382700 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:50:00 MET / 1132383000 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:55:00 MET / 1132383300 --> <row><v> N aN </v></row> <!-- 2005-11-19 08:00:00 MET / 1132383600 --> <row><v> N aN </v></row>
Regards Lars
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displaying
So what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with
[mailbox]
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Did you add the 'ncv' entry to the GRAPHS section in hobbitserver.cfg? See the last paragraph in Henrik's graphing HOWTO.
This was the solution to my previously reported problem. I found that without it, I got status messages in rrd-status.log but no updating of the rrd.
Regards Geoff On Mon, 2005-11-21 at 07:51 +0100, lars ebeling wrote:
Hi,
this I put in hobbitgraph.cfg:
ÄmailboxÅ TITLE Mailbox size YAXIS bytes DEF:size=mailbox.rrd:hobbit:AVERAGE LINE2:size#00CCCC:Hobbit size GPRINT:size:LAST:Hobbit size Ö: %5.1lf%s (cur) GPRINT:size:MAX: Ö: %5.1lf%s (max) GPRINT:size:MIN: Ö: %5.1lf%s (min) GPRINT:size:AVERAGE: Ö: %5.1lf%s (avg)Ön
Ä=[ Å=] Ö=\ that's my setup of vt-terminal.
But there are no values in mailbox.rrd:
/opt/rrd/bin/rrdtool dump mailbox.rrd ö pg
<!-- Round Robin Database Dump --> <rrd> <version> 0001 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1132555483 </lastupdate> <!-- 2005-11-21 07:44:43 MET -->
<ds> <name> hobbit </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> 6.8064321510e+09 </value> <unknown_sec> 0 </unknown_sec> </ds><!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> <xff> 5.0000000000e-01 </xff>
<cdp_prep> <ds><value> NaN </value> <unknown_datapoints> 0</unkno wn_datapoints></ds> </cdp_prep> <database> <!-- 2005-11-19 07:45:00 MET / 1132382700 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:50:00 MET / 1132383000 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:55:00 MET / 1132383300 --> <row><v> N aN </v></row> <!-- 2005-11-19 08:00:00 MET / 1132383600 --> <row><v> N aN </v></row>
Regards Lars
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displaying
So what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with
[mailbox]
Regards, Henrik
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
-------------------------------Safe Stamp----------------------------------- Your Anti-virus Service scanned this email. It is safe from known viruses. For more information regarding this service, please contact your service provider.
-------------------------------Safe Stamp----------------------------------- The sender's Anti-virus Service scanned this email. It is safe from known viruses.
No I didn't. Now I have done it, and the graph shows up. Thanks. mailbox.rrd is created, but not updated.
Regards Lars
----- Original Message ----- From: "Geoff Steer" <gsteer at firstwave.com.au> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 9:06 AM Subject: Re: [hobbit] NCV grpah not displaying
Did you add the 'ncv' entry to the GRAPHS section in hobbitserver.cfg? See the last paragraph in Henrik's graphing HOWTO.
This was the solution to my previously reported problem. I found that without it, I got status messages in rrd-status.log but no updating of the rrd.
Regards Geoff On Mon, 2005-11-21 at 07:51 +0100, lars ebeling wrote:
Hi,
this I put in hobbitgraph.cfg:
ÄmailboxÅ TITLE Mailbox size YAXIS bytes DEF:size=mailbox.rrd:hobbit:AVERAGE LINE2:size#00CCCC:Hobbit size GPRINT:size:LAST:Hobbit size Ö: %5.1lf%s (cur) GPRINT:size:MAX: Ö: %5.1lf%s (max) GPRINT:size:MIN: Ö: %5.1lf%s (min) GPRINT:size:AVERAGE: Ö: %5.1lf%s (avg)Ön
Ä=[ Å=] Ö=\ that's my setup of vt-terminal.
But there are no values in mailbox.rrd:
/opt/rrd/bin/rrdtool dump mailbox.rrd ö pg
<!-- Round Robin Database Dump --> <rrd> <version> 0001 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1132555483 </lastupdate> <!-- 2005-11-21 07:44:43 MET -->
<ds> <name> hobbit </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> 6.8064321510e+09 </value> <unknown_sec> 0 </unknown_sec> </ds><!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> <xff> 5.0000000000e-01 </xff>
<cdp_prep> <ds><value> NaN </value> <unknown_datapoints> 0</unkno wn_datapoints></ds> </cdp_prep> <database> <!-- 2005-11-19 07:45:00 MET / 1132382700 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:50:00 MET / 1132383000 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:55:00 MET / 1132383300 --> <row><v> N aN </v></row> <!-- 2005-11-19 08:00:00 MET / 1132383600 --> <row><v> N aN </v></row>
Regards Lars
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displaying
So what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with
[mailbox]
Regards, Henrik
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
-------------------------------Safe Stamp----------------------------------- Your Anti-virus Service scanned this email. It is safe from known viruses. For more information regarding this service, please contact your service provider.
-------------------------------Safe Stamp----------------------------------- The sender's Anti-virus Service scanned this email. It is safe from known viruses.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
It's working!
But this should be mor emphasized:
Problems: No graph on the status page, but OK on the "trends" page
Make sure you have "ncv" listed in the GRAPHS setting in hobbitserver.cfg. (Don't ask why - just take my word that it must be there).
Regards Lars ----- Original Message ----- From: "lars ebeling" <lars.ebeling at leopg9.no-ip.org> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 9:56 AM Subject: Re: [hobbit] NCV grpah not displaying
No I didn't. Now I have done it, and the graph shows up. Thanks. mailbox.rrd is created, but not updated.
Regards Lars
----- Original Message ----- From: "Geoff Steer" <gsteer at firstwave.com.au> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 9:06 AM Subject: Re: [hobbit] NCV grpah not displaying
Did you add the 'ncv' entry to the GRAPHS section in hobbitserver.cfg? See the last paragraph in Henrik's graphing HOWTO.
This was the solution to my previously reported problem. I found that without it, I got status messages in rrd-status.log but no updating of the rrd.
Regards Geoff On Mon, 2005-11-21 at 07:51 +0100, lars ebeling wrote:
Hi,
this I put in hobbitgraph.cfg:
ÄmailboxÅ TITLE Mailbox size YAXIS bytes DEF:size=mailbox.rrd:hobbit:AVERAGE LINE2:size#00CCCC:Hobbit size GPRINT:size:LAST:Hobbit size Ö: %5.1lf%s (cur) GPRINT:size:MAX: Ö: %5.1lf%s (max) GPRINT:size:MIN: Ö: %5.1lf%s (min) GPRINT:size:AVERAGE: Ö: %5.1lf%s (avg)Ön
Ä=[ Å=] Ö=\ that's my setup of vt-terminal.
But there are no values in mailbox.rrd:
/opt/rrd/bin/rrdtool dump mailbox.rrd ö pg
<!-- Round Robin Database Dump --> <rrd> <version> 0001 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1132555483 </lastupdate> <!-- 2005-11-21 07:44:43 MET -->
<ds> <name> hobbit </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> 6.8064321510e+09 </value> <unknown_sec> 0 </unknown_sec> </ds><!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> <xff> 5.0000000000e-01 </xff>
<cdp_prep> <ds><value> NaN </value> <unknown_datapoints> 0</unkno wn_datapoints></ds> </cdp_prep> <database> <!-- 2005-11-19 07:45:00 MET / 1132382700 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:50:00 MET / 1132383000 --> <row><v> N aN </v></row> <!-- 2005-11-19 07:55:00 MET / 1132383300 --> <row><v> N aN </v></row> <!-- 2005-11-19 08:00:00 MET / 1132383600 --> <row><v> N aN </v></row>
Regards Lars
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displaying
So what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with
[mailbox]
Regards, Henrik
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
-------------------------------Safe Stamp----------------------------------- Your Anti-virus Service scanned this email. It is safe from known viruses. For more information regarding this service, please contact your service provider.
-------------------------------Safe Stamp----------------------------------- The sender's Anti-virus Service scanned this email. It is safe from known viruses.
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)
-
gsteer@firstwave.com.au
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org