[BACK]Return to README CVS log [TXT][DIR] Up to [local] / nagios / check_bioctl

File: [local] / nagios / check_bioctl / README (download)

Revision 1.1, Mon Nov 9 17:56:36 2009 UTC (14 years, 6 months ago) by andrew
Branch: MAIN

add a README, cuZ that is important.

check_bioctl - checks status of a RAID array using bioctl

The only real caveat with it is that bioctl needs rw permission to
/dev/bio. One way to allow for that is by adding an entry to
/etc/sudoers and then making the check run sudo check_bioctl.

This is an example of what I have set up for NRPE. For checks on
the machine running Nagios, use the _nagios user in /etc/sudoers
instead of _nrpe, and of course, no /etc/nrpe.cfg.

/etc/sudoers:
_nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0

/etc/nrpe.cfg:
command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0

$RedRiver$