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

Re: [hobbit] iostat




.. little Corecction ...

.. the script linux-iostat.pl get now with the change below the data and make the right output with debug-option, but i've got only graphs for e.g hdd or md ... not for i2o/hda1 etc ...

2008-11-06 00:54:09 Using default environment file /usr/lib/hobbit/client/etc/hobbitclient.cfg
/usr/lib/hobbit/client/bin/bb 0.0.0.0 "data it-wgs02.trends
[iostat-part.i2o/hda5.rrd]
DS:tps:GAUGE:600:0:U 054
DS:Kb_read:DERIVE:600:0:U 5312317
DS:Kb_wrtn:DERIVE:600:0:U 1766160
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.i2o/hda6.rrd]
DS:tps:GAUGE:600:0:U 018
DS:Kb_read:DERIVE:600:0:U 14841
DS:Kb_wrtn:DERIVE:600:0:U 1295592
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-disk.i2o/hda.rrd]
DS:tps:GAUGE:600:0:U 13161
DS:Kb_read:DERIVE:600:0:U 1325692846
DS:Kb_wrtn:DERIVE:600:0:U 1162626828
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.i2o/hda8.rrd]
DS:tps:GAUGE:600:0:U 19835
DS:Kb_read:DERIVE:600:0:U 1273967021
DS:Kb_wrtn:DERIVE:600:0:U 1107176272
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-disk.hdd.rrd]
DS:tps:GAUGE:600:0:U 000
DS:Kb_read:DERIVE:600:0:U 0
DS:Kb_wrtn:DERIVE:600:0:U 0
DS:blk_read:DERIVE:600:0:U 0
DS:blk_wrtn:DERIVE:600:0:U 0

[iostat-part.i2o/hda1.rrd]
DS:tps:GAUGE:600:0:U 746
DS:Kb_read:DERIVE:600:0:U 38747645
DS:Kb_wrtn:DERIVE:600:0:U 39492064
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.i2o/hda2.rrd]
DS:tps:GAUGE:600:0:U 000
DS:Kb_read:DERIVE:600:0:U 1136
DS:Kb_wrtn:DERIVE:600:0:U 724
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.md0.rrd]
DS:tps:GAUGE:600:0:U 000
DS:Kb_read:DERIVE:600:0:U 0
DS:Kb_wrtn:DERIVE:600:0:U 0
DS:blk_read:DERIVE:600:0:U 0
DS:blk_wrtn:DERIVE:600:0:U 0

[iostat-part.i2o/hda7.rrd]
DS:tps:GAUGE:600:0:U 200
DS:Kb_read:DERIVE:600:0:U 6478357
DS:Kb_wrtn:DERIVE:600:0:U 11938960
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.i2o/hda3.rrd]
DS:tps:GAUGE:600:0:U 022
DS:Kb_read:DERIVE:600:0:U 1170025
DS:Kb_wrtn:DERIVE:600:0:U 953480
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

[iostat-part.i2o/hda4.rrd]
DS:tps:GAUGE:600:0:U 000
DS:Kb_read:DERIVE:600:0:U 0
DS:Kb_wrtn:DERIVE:600:0:U 0
DS:blk_read:DERIVE:600:0:U
DS:blk_wrtn:DERIVE:600:0:U

"


... but the graphs are not there (only empty hdd & md0 graphs  ...
.. something else is missing ....

cheers,
	martin

On Thu, 6 Nov 2008, Martin Flemming wrote:


VERY NICE, Stef !

I've search long time for such a graph !

By the way, is there a possibilty to added other devices into the graph's
.. hope so, think it should be possible, but my script-expertise is not very huge ... :-(

my first shot, change of linux-iostat.pl

< if ( $vmstat =~ /^sd[a-z]/ or $vmstat =~ /^hd[a-z]/ or $vmstat =~ /^md\d/ or $vmstat =~ /^i2o/ ) {
---
    if ( $vmstat =~ /^sd[a-z]/ or $vmstat =~ /^hd[a-z]/ or $vmstat =~
    /^md\d/ ) {


doesn't work ..

I've got machines with

Adaptec (formerly DPT) ASR-2010S I2O Zero Channel Controller

which is recognized as

i2o/hda1
i2o/hda3
.
.

or

cciss/c0d0p1


by the way, i search also for such a solaris-script ...

Thanks & Cheers,

	martin


On Wed, 5 Nov 2008, Stef Coene wrote:

 On Wednesday 05 November 2008, Stef Coene wrote:
>  On Tuesday 21 October 2008, Everett, Vernon wrote:
> >  Hi all
> > > > Searched the list, but never really found anything.
> >  Has anybody managed to get iostat data and graphs working for RedHat
> >  linux?
> > > > Looking to graph the basics for a system for physical disks.
> >  r/s, w/s, avgrq-sz, await
> >  All the rest is nice to have.
> > > > Anybody done this? > > I'm doing it for aix. I will adapt my script for linux and let you know
>  the result.
 I think it is working:
 http://www.docum.org/twiki/bin/view/Hobbit/LinuxIostatGraphs


 Stef

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




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





Gruss

       Martin Flemming


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming (at) desy.de
______________________________________________________