<br><tt><font size=2>nagios-users-bounces@lists.sourceforge.net schrieb
am 25.02.2008 00:26:40:<br>
<br>
> > Shortly after writing this, I found this plugin<br>
> ><br>
> > http://www.ofn.dk/files/software/check_iostat<br>
> <br>
> > UPDATE:<br>
> ><br>
> > I configured my Perl environment (i.e. installed Perl modules
from  <br>
> > cpan, etc), and now when implement this from the commad line,
I get  <br>
> > something like this<br>
> ><br>
> > ./check_iostat.pl<br>
> > IOSTAT OK - user 2.01 nice 0.00 sys 3.46 iowait 2.38 idle 92.15
|  <br>
> > iowait=2.38%;; idle=92.15%;; user=2.01%;; nice=0.00%;; sys=3.46%;;<br>
> ><br>
> > this doesn't have /dev/ info that I'd expect to get from iostat,
 <br>
> > such as sda<br>
> <br>
> > What might I be missing?<br>
> <br>
> Reading the plugin, it's only running and parsing 'iostat -c' to  <br>
> process the cpu utilization report, not the device utilization report.<br>
> <br>
>    my $output = `$iostat -c`;<br>
</font></tt>
<br><tt><font size=2>To my knowledge, there is no such plugin available
at the moment.</font></tt>
<br><tt><font size=2>As I already wrote, I am currently working on one
though ;)</font></tt>
<br>
<br><tt><font size=2>On a sidenote: Forget about running it via nrpe, this
would be flawed</font></tt>
<br><tt><font size=2>by design. Since iostat only reports bus usage in
realtime and has no</font></tt>
<br><tt><font size=2>means of displaying averages, it would mean you would
have the usage of</font></tt>
<br><tt><font size=2>your bus for the time of 1 second every minute (at
best). Doesn't help</font></tt>
<br><tt><font size=2>at all. Trust me, I excessively tried things when
messing with iostat</font></tt>
<br><tt><font size=2>parsing on our high load oracle servers. ;) You need
to call iostat</font></tt>
<br><tt><font size=2>with multiple checks - the longer the better - but
then it means you</font></tt>
<br><tt><font size=2>would have to  run iostat for like 30 seconds
or so -> plugin runtime</font></tt>
<br><tt><font size=2>is 30 seconds too then! That means that check would
have a high</font></tt>
<br><tt><font size=2>delay/latency, which is overall a bad idea. My solution
so far is</font></tt>
<br><tt><font size=2>to run the plugin via cron and report output via nsca,
this gave</font></tt>
<br><tt><font size=2>me the best results.</font></tt>
<br>
<br><tt><font size=2>Sadly my plugin is currently not in a state to be
released, since it</font></tt>
<br><tt><font size=2>is yet too far narrowed down to monitor our special
oracle environment.</font></tt>
<br><tt><font size=2>I still need to make it more configurable and such,
but I expect to</font></tt>
<br><tt><font size=2>be able to release it in the next 1-2 weeks - depending
on how much</font></tt>
<br><tt><font size=2>time I have spare to work on it.</font></tt>
<br>
<br><tt><font size=2>S</font></tt>
<br>
<br><font size=2 face="sans-serif">-- <br>
Sascha Runschke<br>
Netzwerk- und Systemmanagement<br>
Abt. Organisation und Betrieb - IT-Infrastruktur<br>
Telefon : +49 (201) 102-1879<br>
Mobile : +49 (173) 5419665<br>
Fax : +49 (201) 102-1102105</font>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">GFKL Financial Services AG</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>