Fwd: plugin for iostat readings?

Roger Roger at NagiosWiki.com
Sun Feb 24 21:57:34 CET 2008


UPDATE ON MY QUESTION

On 2/24/08, Roger <Roger at nagioswiki.com> wrote:
>
> I'm looking for a solid *proven* plugin (that I can run via NRPE) that
> will give me a good idea of disk i/o on *nix servers, particularly AIX ones.
>
> I'm thinking that maybe there is something out there gives me a nice
> sampling of something like the following:
>
> iostat -As (s = system throughput report)
>
> and/or
>
> iostat -AQ (Q = io requests to each disk queue)
>
> Any ideas?  If not, then I'll have to figure out a way to write my own.
> But I'm hoping to find something else I might build on top of.
>

Shortly after writing this, I found this plugin

http://www.ofn.dk/files/software/check_iostat

Anyone have any experience with this? I will give it a go and report back...

******************

UPDATE:

I configured my Perl environment (i.e. installed Perl modules from cpan,
etc), and now when implement this from the commad line, I get something like
this

./check_iostat.pl
IOSTAT OK - user 2.01 nice 0.00 sys 3.46 iowait 2.38 idle 92.15 | iowait=
2.38%;; idle=92.15%;; user=2.01%;; nice=0.00%;; sys=3.46%;;

this doesn't have /dev/ info that I'd expect to get from iostat, such as sda

e.g.

avg-cpu: %user %nice %sys %iowait %idle
2.01 0.00 3.46 2.38 92.15

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 11.22 1.24 657.43 3555644 1883264680
sda1 0.00 0.00 0.00 1058 264
sda2 82.29 1.24 657.43 3552855 1883260808
sda3 0.00 0.00 0.00 571 0
dm-0 3.76 0.70 29.42 2000490 84266064
dm-1 0.00 0.00 0.00 994 1600
dm-2 0.00 0.00 0.00 4930 2504
dm-3 0.31 0.00 2.45 5826 7009024
dm-4 3.95 0.25 31.44 723226 90062328
dm-5 74.28 0.29 594.12 816842 1701922896

What might I be missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080224/a31c2c8f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list