Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
kforbus
bykforbus, June 9, 2010
4 of 4 people found this review helpful
Very nice plugin. Only change I made was adding "-k" to the lines:
kbread=`$iostat $disk -k | grep $disk | awk '{print $3}'`
kbwritten=`$iostat $disk -k | grep $disk | awk '{print $4}'`
This is because the plugin appears to return blocks read and written per second instead of kilobytes read and written per second. The "-k" option for iostat fixes this.
kbread=`$iostat $disk -k | grep $disk | awk '{print $3}'`
kbwritten=`$iostat $disk -k | grep $disk | awk '{print $4}'`
This is because the plugin appears to return blocks read and written per second instead of kilobytes read and written per second. The "-k" option for iostat fixes this.