Check Disk IO via NRPE
From Nagios Wiki
In order to check disk i/o, the check_diskio.pl plugin must be copied in the Nagios plugins directory of the monitored server, modified for CentOS/RHEL (e.g. change first line to #!/usr/bin/perl) and the necessary Perl 5.8.x modules must be installed via CPAN (e.g. cpan -> install Nagios::Plugin -> install List::Util --> etc).
(NOTE: If you experience a "Can't locate version.pm in @INC" error, then the problem could very well be that you are (a) missing the Perl Version RPM from the RPMforge repo, or (b) need to run cpan->install version. If you are missing something else, go to a RHEL/CentOS box with yum support and type "yum provides (missing file)")
(If the Perl environment is correctly configured, then you should be able to get type "./check_diskio.pl --help" from the plugins direction and have it output the parameters needed to run the plugin)
Once its works, then reference this plugin directory in your nrpe.cfg file
e.g.
command[check_diskio]=/usr/lib/nagios/plugins/check_diskio.pl --device=sda -w 200 -c 300
Restart the service (/etc/init.d/nrpe restart), then test to see if you can call that command from Nagios
e.g.
/usr/lib/nagios/plugins [root@nagios03 plugins]# ./check_nrpe -H monitored-server -c check_diskio CHECK_DISKIO OK - sda 194 sectors/s | WRITE=194;200;300 READ=0;200;300 TOTAL=194;200;300 [root@nagios03 plugins]#
Once that works, then you can add that call that disk io check via NRPE from Nagios.

