[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Creating Custom Graphs



Hi,

I have noticed that I am getting the info of iostat throw hobbitd daemon.

The data isn't received throw "hobbitd_channel --channel=status" or "hobbitd_channel --channel=data" - which can explain why I am not getting the rrd graphs.

I am just using "data" or "status" in the header of my message to hobbit server.
how can I send data to the data or status channel ?


Regards,

-----Original Message-----
From: Buchan Milne [mailto:bgmilne (at) staff.telkomsa.net]
Sent: Monday, March 27, 2006 12:11 PM
To: hobbit (at) hswn.dk
Cc: אייל ריף
Subject: Re: [hobbit] Creating Custom Graphs


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@= (at) RRDFN@:pct:AVERAGE
>         LINE2:p (at) RRDIDX@# (at) 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.

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)

-----------------------------------------------------------------------------------------
   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.