NCV grpah not displaying
list Geoff Steer
I've set up a custom RRD using the Hobbit NCV facility. [It's for monitoring the time an email takes to traverse our mail platform and logs times in seconds. ] It's working in that the rrd is created/updated as expected, a column called mailtransit is created under the appropriate host and the status of the test is displayed. However I can't get a graph to be displayed here. The correct graph shows up under the Trends column. hobbitserver.cfg contains the following entries for this test: NCV_mailtransit="mailtransit:GAUGE" TEST2RRD="cpu=la,disk,inode,qtree,memory, $PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,vmstat5,iostat,netstat ,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen, bbtest,bbproxy,hobbitd,mailtransit=ncv" GRAPHS="la,disk,inode,qtree,memory,users,vmstat,vmstat5,iostat,tcp.http,tcp,netstat, mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen ,bbtest,bbproxy,hobbitd,mailtransit" ANy suggestions? -- Geoff Steer <user-63da8dfb9093@xymon.invalid> -------------------------------Safe Stamp----------------------------------- The sender's Anti-virus Service scanned this email. It is safe from known viruses.
list Henrik Størner
▸
On Sun, Nov 20, 2005 at 04:46:43PM +1100, Geoff Steer wrote:
I've set up a custom RRD using the Hobbit NCV facility. [It's for monitoring the time an email takes to traverse our mail platform and logs times in seconds. ] It's working in that the rrd is created/updated as expected, a column called mailtransit is created under the appropriate host and the status of the test is displayed. However I can't get a graph to be displayed here.
Is there a "hobbit graph mailtransit:ncv" link on your status page ? Or a broken graph image ? Or nothing at all ? I've cooked up a quick "howto" document on how you setup graphs with the NCV module - you'll find it at http://www.hswn.dk/~henrik/howtograph.txt I would like some comments on this and then I'll probably include it in the Hobbit docs. Henrik
list Geoff Steer
▸
On Sun, 2005-11-20 at 10:13 +0100, Henrik Stoerner wrote:
Is there a "hobbit graph mailtransit:ncv" link on your status page ? Or a broken graph image ? Or nothing at all ?
There is no graphic link at all.
▸
I've cooked up a quick "howto" document on how you setup graphs with the NCV module - you'll find it at http://www.hswn.dk/~henrik/howtograph.txt I would like some comments on this and then I'll probably include it in the Hobbit docs.
Reading this document made the difference. Once I added the ncv to the GRAPHS section in hobbitserver.cfg, as stated in your howtograph.txt, the graph appeared on the the status page. As per the text, I won't ask why :-) - although it's not obvious to me why this made the graph appear on the status page given that the GRAPH section is described as controlling the graphs appearing on the trend page. I have my graph and a little more understanding of Hobbit so I'm happy. -- Regards Geoff
▸
-------------------------------Safe Stamp-----------------------------------
The sender's Anti-virus Service scanned this email. It is safe from known viruses.
list Lars Ebeling
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
list Henrik Størner
▸
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
list Lars Ebeling
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" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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
list Geoff Steer
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" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displayingSo what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with [mailbox] Regards, Henrik
-------------------------------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.
list Lars Ebeling
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" <user-63da8dfb9093@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displayingSo what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with [mailbox] Regards, Henrik-------------------------------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.
list Lars Ebeling
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" <user-1fecd3eafd52@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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" <user-63da8dfb9093@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Monday, November 21, 2005 9:06 AM Subject: Re: [hobbit] NCV grpah not displayingDid 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" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Monday, November 21, 2005 7:43 AM Subject: Re: [hobbit] NCV grpah not displayingSo what did you put into hobbitgraph.cfg ? From the error, it sounds as if there is no section beginning with [mailbox] Regards, Henrik-------------------------------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.
list Rich Smrcina
I think that a status message that I have is confusing the ncv module. Based on the following message:
status vse2.sp_util green 21 Nov 2005 06:41:24 Power spool status is OK
1R49I QUEUE FILE 031% FULL - 599 FREE QUEUE RECORDS
1R49I USED QUEUE RECORDS: 263, CRE-Q: 9, DEL-Q: 1
1R49I RDR-Q: 34, LST-Q: 211, PUN-Q: 5, XMT-Q: 3
1R49I QUEUE FILE EXTENT ON CKD-100, SYS001, 945, 7
1R49I DATA FILE 040% FULL - 1023 FREE DBLK GROUPS
1R49I CURRENT DBLK SIZE=06356, DBLK GROUP SIZE=00009
1R49I DATA FILE EXTENT 1 ON CKD-101, SYS002, 6330, 1920
1R49I NO ACCOUNTING SUPPORT
queuefile : 031
datafile : 040
Of course the intent is for ncv to grab the last two lines and create an rrd out of them. But the rrd gets the following information:
hobbit at hobbit:~/data/rrd/vse2> rrdtool fetch sp_util.rrd AVERAGE -r 900 -s -60m
1R49IQUEUEFILE030FU CREQ DELQ 1R49IRDRQ LSTQ PUNQ XMTQ 1R49IQUEUEFILEEXTEN DBLKGROUPSIZE 1R49IDATAFILEEXTENT
1132539900: nan nan nan nan nan nan nan nan nan nan
1132540200: nan nan nan nan nan nan nan nan nan nan
1132540500: nan nan nan nan nan nan nan nan nan nan
Is this really a problem or am I trying to use ncv for something it wasn't designed for? Should I stick to an 'extra' script?
▸
Henrik Stoerner wrote:On Sun, Nov 20, 2005 at 04:46:43PM +1100, Geoff Steer wrote:I've set up a custom RRD using the Hobbit NCV facility. [It's for monitoring the time an email takes to traverse our mail platform and logs times in seconds. ] It's working in that the rrd is created/updated as expected, a column called mailtransit is created under the appropriate host and the status of the test is displayed. However I can't get a graph to be displayed here.Is there a "hobbit graph mailtransit:ncv" link on your status page ? Or a broken graph image ? Or nothing at all ? I've cooked up a quick "howto" document on how you setup graphs with the NCV module - you'll find it at http://www.hswn.dk/~henrik/howtograph.txt I would like some comments on this and then I'll probably include it in the Hobbit docs. Henrik
--
Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (XXX)XXX-XXXX Ans Service: (360)715-2467 user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
list Mario Andre
Henrik, after upgrade from 4.1.1 to 4.1.2p1 the rrds for the ncv graphs has stoped being updated. I've read your new text about NCV graphs and everything is OK. Any hint? Regards, Mario.
list Thomas Pedersen
Followed the HOWTO and it works nicely. Is there a limitation of 5 graphs ? I have a status that returns 6 data values, and I have defined all of them as GAUGE values, but if I check the rrd file only the first 5 is saved. /Thomas
▸
Henrik Stoerner wrote:On Sun, Nov 20, 2005 at 04:46:43PM +1100, Geoff Steer wrote:I've set up a custom RRD using the Hobbit NCV facility. [It's for monitoring the time an email takes to traverse our mail platform and logs times in seconds. ] It's working in that the rrd is created/updated as expected, a column called mailtransit is created under the appropriate host and the status of the test is displayed. However I can't get a graph to be displayed here.Is there a "hobbit graph mailtransit:ncv" link on your status page ? Or a broken graph image ? Or nothing at all ? I've cooked up a quick "howto" document on how you setup graphs with the NCV module - you'll find it at http://www.hswn.dk/~henrik/howtograph.txt I would like some comments on this and then I'll probably include it in the Hobbit docs. Henrik
list Mario Andre
I've installed once again the last version and the rrds for the ncv graph are not being created or updated, no messages of the ext script appears on larrd-status.log and larrd-data.log. Maybe something missing in the last version? Regards, Mario.
list Mario Andre
Henrik, Now my server is running the 4.1.1 version again , and the ncv rrd's starts updating again.
▸
On 11/23/05, mario andre <user-82c7780661a4@xymon.invalid> wrote:I've installed once again the last version and the rrds for the ncv graph are not being created or updated, no messages of the ext script appears on larrd-status.log and larrd-data.log. Maybe something missing in the last version? Regards, Mario.