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

RE: [hobbit] Creating Custom Graphs



Hi,

I think you need to write a script for getting rrd files created.

Check if you have the rrd files of iostat in data/rrd/anyhost (anyhost
-- name of any host which has iostat test enabled.) of the hobbit
installed directory.



-----Original Message-----
From: EyalRi (at) Clal-Ins.co.il [mailto:EyalRi (at) Clal-Ins.co.il] 
Sent: Sunday, March 26, 2006 7:01 PM
To: hobbit (at) hswn.dk
Subject: [hobbit] Creating Custom Graphs

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.

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. 


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk




This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.