Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Iostat Updated
http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_iostat--2D-I-2FO-statistics/details
With support for newest iostat and other features
Reviews (1)
Not sure if tps is equal to r/s + w/s. If so we can save 10s and avoid invoking iostat twice
~# diff check_iostat.sh /usr/lib/nagios/plugins/check_iostat.sh
86c86
samples=2i
186a187
> TMPD=`$iostat $disk -k -d 10 $samples | grep $disk | tail -1`
187a189
> tps=`echo "$TMPD" | awk '{print $2}'`
190d191
~# diff check_iostat.sh /usr/lib/nagios/plugins/check_iostat.sh
86c86
samples=2i
186a187
> TMPD=`$iostat $disk -k -d 10 $samples | grep $disk | tail -1`
187a189
> tps=`echo "$TMPD" | awk '{print $2}'`
190d191