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

Re: [hobbit] iostat



Hi Stef,

It works ... i'm now seeing mount points in my iostat graphs.  But, how 
will I add this "disk iostat"  in metrics reports instead of in trends 
column. 
Actually, we are submitting server performance graphs in a weekly basis.

Thanks a lot,


RaAL




Stef Coene <stef.coene (at) docum.org> 
12/17/2008 04:57 PM
Please respond to
hobbit (at) hswn.dk


To
hobbit (at) hswn.dk
cc

Subject
Re: [hobbit] iostat






On Wednesday 17 December 2008, RaAL (at) sm-shoemart.com wrote:
> Thanks Stef
>
> But  I'm having a hard time how am i going to do the definitions per 
mount
> point in hobbitgraph.cfg.
> You may send me your sample scripts if you 've done it in your sample 
box.
sda1 is my / fs, so I create a symbolic link:
ln -s iostat-part.sda1.rrd iostat-part-mp,root.rrd

sdb5 is my /home/users fs, so I create a symbolic link:
ln -s iostat-part.sdb5.rrd iostat-part-mp,home,users.rrd

Added to hobbitgraph (copied from [iostat-part], only the FNXPATTERN is 
changed):

[iostat-part-mp]
   TITLE partition read and write
   YAXIS KiloByte/s
   FNPATTERN iostat-part-mp(.*).rrd
   DEF:Kb_read (at) RRDIDX@= (at) RRDFN@:Kb_read:AVERAGE
   LINE2:Kb_read (at) RRDIDX@# (at) COLOR@:@RRDPARAM@ read
   GPRINT:Kb_read (at) RRDIDX@:LAST: \: %5.1lf (cur)
   GPRINT:Kb_read (at) RRDIDX@:MAX: \: %5.1lf (max)
   GPRINT:Kb_read (at) RRDIDX@:MIN: \: %5.1lf (min)
   GPRINT:Kb_read (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

   DEF:Kb_wrtn2 (at) RRDIDX@= (at) RRDFN@:Kb_wrtn:AVERAGE
   CDEF:Kb_wrtn (at) RRDIDX@=0,Kb_wrtn2 (at) RRDIDX@,-
   LINE2:Kb_wrtn (at) RRDIDX@# (at) COLOR@:@RRDPARAM@ wrtn
   GPRINT:Kb_wrtn2 (at) RRDIDX@:LAST: \: %5.1lf (cur)
   GPRINT:Kb_wrtn2 (at) RRDIDX@:MAX: \: %5.1lf (max)
   GPRINT:Kb_wrtn2 (at) RRDIDX@:MIN: \: %5.1lf (min)
   GPRINT:Kb_wrtn2 (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

To include this graph (placed in bb-hosts):
TRENDS:*,disk:disk|iostat-disk|iostat-part-mp


Stef

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