Hi,
I am trying to create new custom graph.
I am getting the following data in "status" and "data" channels under iostat -
c0d0p7-rps:0.00 c0d0p7-wps:15.01 c0d0p1-rps:0.00 c0d0p1-wps:0.00 c0d0p10-rps:0.00 c0d0p10-wps:4.60
I have added a record to hobbitgraph.cfg -
[iostat] FNPATTERN iostat(.*).rrd TITLE Disk IO YAXIS % Full DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 100 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.
I have added a record to hobbitlaunch.cfg -
[rrdstatus] ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=i ostat
"rrddata" updates RRD files with information that arrives as "data" messages.
If you want RRD graphs of your monitoring BB data, then you want to run this.
[rrddata] ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=ios tat
I have also added iostat to bb-hosts.
Unfortunately I am not getting the RRD graphs.
Any idea/suggestion what could be the problem?
Any help/suggestion would be appreciated.
Regards, Eyal Rif
This message was sent by Clal Insurance Ltd Mail Systems
Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery: any use or disclosure of the contents of either is unauthorized and may be unlawful.
On Sunday 26 March 2006 15:31, EyalRi at clal-ins.co.il wrote:
Hi,
I am trying to create new custom graph.
I am getting the following data in "status" and "data" channels under iostat -
c0d0p7-rps:0.00 c0d0p7-wps:15.01 c0d0p1-rps:0.00 c0d0p1-wps:0.00 c0d0p10-rps:0.00 c0d0p10-wps:4.60
I have added a record to hobbitgraph.cfg -
[iostat] FNPATTERN iostat(.*).rrd TITLE Disk IO YAXIS % Full DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 100 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.
I have added a record to hobbitlaunch.cfg -
[rrdstatus] ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=i ostat
"rrddata" updates RRD files with information that arrives as "data"
messages. # If you want RRD graphs of your monitoring BB data, then you want to run this.
[rrddata] ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=data
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=ios tatI have also added iostat to bb-hosts.
Unfortunately I am not getting the RRD graphs.
Any idea/suggestion what could be the problem?
Any help/suggestion would be appreciated.
I assume you are wanting to have these rrd files generated by the ncv handler, in which case you also need to:
-add ncv to GRAPHS (so GRAPHS should include both iostat and ncv) -add "iostat=ncv" to TEST2RRD (instead of just "iostat") -add a line that looks something like this: ncv_iostat="c0d0p7-rps:GAUGE,c0d0p7-wps:GAUGE,c0d0p1-rps:GAUGE,c0d0p1-wps:GAUGE,c0d0p10-rps:GAUGE,c0d0p10-wps:GAUGE
in hobbitserver.cfg
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Hi all,
our servers are reporting to hobbit using virtual hostnames. For some reasons not all names report all the time. So once a host is not sending information, hobbit turns this test or host to "purple". Up to now I always dropped the host/test then, but so all historical information gets lost. Normal disable is no option as we nether know how long a hostname want be used (it may be a long time). Is there a way of turnijng of purple/disabling a host permanently without loosing its data?
Thanks Rolf
-- Mit freundlichen Gruessen Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 - 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at rz.uni-frankfurt.de
On Tue, Mar 28, 2006 at 08:36:13AM +0200, Rolf Schrittenlocher wrote:
our servers are reporting to hobbit using virtual hostnames. For some reasons not all names report all the time. So once a host is not sending information, hobbit turns this test or host to "purple". Up to now I always dropped the host/test then, but so all historical information gets lost. Normal disable is no option as we nether know how long a hostname want be used (it may be a long time). Is there a way of turnijng of purple/disabling a host permanently without loosing its data?
You can do it globally by running Hobbit with the "--no-purple" option.
On a per-host basis, the "dialup" directive will do this - but it has the side-effect of disabling alerts for network tests.
Henrik
participants (4)
-
bgmilne@staff.telkomsa.net
-
EyalRi@Clal-Ins.co.il
-
henrik@hswn.dk
-
Schrittenlocher@rz.uni-frankfurt.de