Fwd: plugin for iostat readings?

Marc Powell marc at ena.com
Mon Feb 25 00:26:40 CET 2008


On Feb 24, 2008, at 2:57 PM, Roger wrote:

> UPDATE ON MY QUESTION
>
> On 2/24/08, Roger <Roger at nagioswiki.com> wrote:
>

> Shortly after writing this, I found this plugin
>
> http://www.ofn.dk/files/software/check_iostat

> 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

> What might I be missing?

Reading the plugin, it's only running and parsing 'iostat -c' to  
process the cpu utilization report, not the device utilization report.

	my $output = `$iostat -c`;

--
Marc


-------------------------------------------------------------------------
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/
_______________________________________________
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