Xymon Mailing List Archive search

Help: Trying to use the NCV functionality of hobbit

4 messages in this thread

list Phil Wild · Wed, 4 Jan 2006 13:36:32 +0800 ·
Hello Hobbit users.
 
We have recently installed hobbit to replace a bigbrother PE
installation.
 
I am trying to make use of the ncv functionality mentioned in the
hobbitd_rrd man page.
 
My hobbit server is receiving the following from the client without
issue (not incluing the =====)
========
green Wed Jan  4 13:16:08 WST 2006 
DEV :       39
RUN :       18
========
 
I have modified hobbitserver.cfg with the following:
 
========
NCV_pro4="GAUGE"
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc
p,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sen
dmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy
,hobbitd,pro4=ncv"
 
# This defines which RRD files to include on the "trends" column
webpage,
# and the order in which they appear.
GRAPHS="la,disk,inode,qtree,memory,users,vmstat,iostat,tcp.http,tcp,nets
tat,mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iis
health,citrix,bbgen,bbtest,bbproxy,hobbitd,pro4"
========
 The rrd file is created as expected by hobbit, but only seems to
include the DEV column.
 
Output from 
 
/usr/local/rrdtool/bin/rrdtool fetch pro4.rrd AVERAGE
 
produces (cut down)
 
                            DEV
 
1136266500: nan
1136266800: nan
--- deleted lines ---
1136352600: 7.9365079365e-03
1136352900: nan
 
 
I am having real trouble determining how to debug this further.
 
I am also having trouble producing the graph but am sure that relates to
my inexperience with hobbit but will get there with more reading.

Any help would be appreciated....
 
Thanks
 
Phil

=======================================================
                 IMPORTANT INFORMATION

This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed.  If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer.  Any unauthorised form of reproduction of this message is strictly prohibited. 

It is the duty of the recipient to virus scan and otherwise test the information provided before loading on to any computer system.  No warranty is given or made by Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited that the information is free of a virus or any other defect or error and they will not be liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

Any views expressed in this message are those of the individual sender, except where the sender specifically states they are the views of Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited, as the case may be.

=======================================================
list Henrik Størner · Wed, 4 Jan 2006 10:36:41 +0100 ·
quoted from Phil Wild
On Wed, Jan 04, 2006 at 01:36:32PM +0800, Wild, Phil wrote:
 
My hobbit server is receiving the following from the client without
issue (not incluing the =====)
========
green Wed Jan  4 13:16:08 WST 2006 
DEV :       39
RUN :       18
========
 
I have modified hobbitserver.cfg with the following:
========
NCV_pro4="GAUGE"
This one is wrong, is thould be
   NCV_pro4="DEV:GAUGE,RUN:GAUGE"
You must restart Hobbit after this change, and you should also delete
any "pro4.rrd" files below the hobbit data/rrd/ directory to make sure
they get re-created with the correct setting.
GRAPHS="la,disk,inode,qtree,memory,users,vmstat,iostat,tcp.http,tcp,nets
tat,mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iis
health,citrix,bbgen,bbtest,bbproxy,hobbitd,pro4"
And this one is missing the "ncv" item. Just add it somewhere.
I am having real trouble determining how to debug this further.
Have a look at http://www.hswn.dk/~henrik/howtograph.txt . This
document will be part of the Hobbit documentation soon.


Regards,
Henrik
list Phil Wild · Thu, 5 Jan 2006 14:56:08 +0800 ·
Hello Hobbit users.
 
We have recently installed hobbit to replace a bigbrother PE
installation.
 
I am trying to make use of the ncv functionality mentioned in the
hobbitd_rrd man page.
 
My hobbit server is receiving the following from the client without
issue (not incluing the =====)
========
green Wed Jan  4 13:16:08 WST 2006 
DEV :       39
RUN :       18
========
 
I have modified hobbitserver.cfg with the following:
 
========
NCV_pro4="GAUGE"
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc
p,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sen
dmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy
,hobbitd,pro4=ncv"
 
# This defines which RRD files to include on the "trends" column
webpage,
# and the order in which they appear.
GRAPHS="la,disk,inode,qtree,memory,users,vmstat,iostat,tcp.http,tcp,nets
tat,mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iis
health,citrix,bbgen,bbtest,bbproxy,hobbitd,pro4"
========
 The rrd file is created as expected by hobbit, but only seems to
include the DEV column.
 
Output from 
 
/usr/local/rrdtool/bin/rrdtool fetch pro4.rrd AVERAGE
 
produces (cut down)
 
                            DEV
 
1136266500: nan
1136266800: nan
--- deleted lines ---
1136352600: 7.9365079365e-03
1136352900: nan
 
 
I am having real trouble determining how to debug this further.
 
I am also having trouble producing the graph but am sure that relates to
my inexperience with hobbit but will get there with more reading.

Any help would be appreciated....
 
Thanks
 
Phil

=======================================================
                 IMPORTANT INFORMATION

This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed.  If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer.  Any unauthorised form of reproduction of this message is strictly prohibited. 

It is the duty of the recipient to virus scan and otherwise test the information provided before loading on to any computer system.  No warranty is given or made by Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited that the information is free of a virus or any other defect or error and they will not be liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

Any views expressed in this message are those of the individual sender, except where the sender specifically states they are the views of Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited, as the case may be.

=======================================================
list Phil Wild · Thu, 5 Jan 2006 15:32:12 +0800 ·
Thanks for this but something is still not right.

I have made the change to the env variable as suggested (see extract
from hobbitserver.cfg below)

NCV_pro4="DEV:GAUGE,RUN:GAUGE"
quoted from Phil Wild
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc
p,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sen
dmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy
,hobbitd,pro4=ncv"

# This defines which RRD files to include on the "trends" column
webpage,
# and the order in which they appear.
GRAPHS="la,disk,inode,qtree,memory,users,vmstat,iostat,tcp.http,tcp,nets
tat,mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iis

health,citrix,bbgen,bbtest,bbproxy,hobbitd,pro4,ncv"


I removed the existing rrd file then restarted hobbit (did a stop, wait
10 seconds then start).

I waited for the client tos end data and checked that an RRD file was
generated. The rrd file still only has one of the columns (DEV - see
below).

Is there perhaps something wrong with my collected data:

green Wed Jan  4 13:16:08 WST 2006
DEV :       39
RUN :       18

Cheers and thanks

Phil


/usr/local/rrdtool/bin/rrdtool dump
../../data/rrd/peruxas5.sealcorp.com.au/pro4.rrd | head -50
<!-- Round Robin Database Dump -->
<rrd>
	<version> 0003 </version>
	<step> 300 </step> <!-- Seconds -->
	<lastupdate> 1136445962 </lastupdate> <!-- 2006-01-05 15:26:02
WST -->

	<ds>
		<name> DEV </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.0000000000e+02 </value>
		<unknown_sec> 52 </unknown_sec>
	</ds>

<!-- Round Robin Archives -->
	<rra>

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, 4 January 2006 5:37 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Help: Trying to use the NCV functionality of
hobbit
quoted from Henrik Størner

On Wed, Jan 04, 2006 at 01:36:32PM +0800, Wild, Phil wrote:
 
My hobbit server is receiving the following from the client without 
issue (not incluing the =====) ======== green Wed Jan  4 13:16:08 WST 
2006
DEV :       39
RUN :       18
========
 
I have modified hobbitserver.cfg with the following:
========
NCV_pro4="GAUGE"
This one is wrong, is thould be
   NCV_pro4="DEV:GAUGE,RUN:GAUGE"
You must restart Hobbit after this change, and you should also delete
any "pro4.rrd" files below the hobbit data/rrd/ directory to make sure
they get re-created with the correct setting.
GRAPHS="la,disk,inode,qtree,memory,users,vmstat,iostat,tcp.http,tcp,ne
ts 
tat,mrtg::1,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,i
is health,citrix,bbgen,bbtest,bbproxy,hobbitd,pro4"
quoted from Phil Wild
And this one is missing the "ncv" item. Just add it somewhere.
I am having real trouble determining how to debug this further.
Have a look at http://www.hswn.dk/~henrik/howtograph.txt . This document
will be part of the Hobbit documentation soon.


Regards,
Henrik


=======================================================
                 IMPORTANT INFORMATION

This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed.  If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer.  Any unauthorised form of reproduction of this message is strictly prohibited. 

It is the duty of the recipient to virus scan and otherwise test the information provided before loading on to any computer system.  No warranty is given or made by Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited that the information is free of a virus or any other defect or error and they will not be liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

Any views expressed in this message are those of the individual sender, except where the sender specifically states they are the views of Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited, as the case may be.

=======================================================