Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

randomtask

Reviews(1)
byrandomtask, December 2, 2021
Great plugin, but I did find one issue. When I upgraded one of my servers to Debian 11 this plugin stopped working. It appears to be an issue with an updated version of iostat. To fix just edit the following lines from around line 234.

TMPX=$($iostat $disk -x -k -d 10 2 $samples | grep $disk | tail -1)
TMPD=$($iostat $disk -k -d 10 2 $samples | grep $disk | tail -1)

All I did was add a 2 after the 10 so that only 2 lines are returned to get the stats out. So far it seems to be working just fine. I hope this helps.