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

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

Revision 1.5, Thu Nov 12 18:55:03 2009 UTC (14 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.4: +2 -2 lines

fix some wording

check_bioctl - checks status of a RAID array using bioctl

This check is 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 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}/libexec/nagios/check_bioctl -d ami0

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

For more information on bioctl(8) see the OpenBSD man page.

http://www.openbsd.org

$RedRiver: README,v 1.4 2009/11/09 20:41:49 andrew Exp $