=================================================================== RCS file: /cvs/nagios/check_bioctl/README,v retrieving revision 1.1 retrieving revision 1.4 diff -u -r1.1 -r1.4 --- nagios/check_bioctl/README 2009/11/09 17:56:36 1.1 +++ nagios/check_bioctl/README 2009/11/09 20:41:49 1.4 @@ -1,17 +1,23 @@ check_bioctl - checks status of a RAID array using bioctl +This is check for OpenBSD machines with bioctl(8) supported RAID cards. + 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. +This is an example of a setup for NRPE. For checks on the machine running +Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course, +no ${SYSCONFDIR}/nrpe.cfg. /etc/sudoers: -_nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0 +_nrpe ALL = NOPASSWD:${PREFIX}/libexec/nagios/check_bioctl -d ami0 -/etc/nrpe.cfg: -command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0 +${SYSCONFDIR}/nrpe.cfg: +command[check_bioctl]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_bioctl -d ami0 -$RedRiver$ +For more information on bioctl(8) see the OpenBSD man page. + +http://www.openbsd.org + +$RedRiver: README,v 1.3 2009/11/09 20:02:14 andrew Exp $