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 <user-dbffe946c0f4@xymon.invalid>
12/17/2008 04:57 PM
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
Subject
Re: [hobbit] iostat
On Wednesday 17 December 2008, user-883c06d02443@xymon.invalid 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@=@RRDFN@:Kb_read:AVERAGE
LINE2:Kb_read at RRDIDX@#@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@=@RRDFN@:Kb_wrtn:AVERAGE
CDEF:Kb_wrtn at RRDIDX@=0,Kb_wrtn2 at RRDIDX@,-
LINE2:Kb_wrtn at RRDIDX@#@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