Annotation of nagios/check_bioctl/README, Revision 1.4
1.1 andrew 1: check_bioctl - checks status of a RAID array using bioctl
2:
1.2 andrew 3: This is check for OpenBSD machines with bioctl(8) supported RAID cards.
4:
1.1 andrew 5: The only real caveat with it is that bioctl needs rw permission to
6: /dev/bio. One way to allow for that is by adding an entry to
7: /etc/sudoers and then making the check run sudo check_bioctl.
8:
1.2 andrew 9: This is an example of a setup for NRPE. For checks on the machine running
10: Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,
1.3 andrew 11: no ${SYSCONFDIR}/nrpe.cfg.
1.1 andrew 12:
13: /etc/sudoers:
1.3 andrew 14: _nrpe ALL = NOPASSWD:${PREFIX}/libexec/nagios/check_bioctl -d ami0
1.1 andrew 15:
1.4 ! andrew 16: ${SYSCONFDIR}/nrpe.cfg:
1.3 andrew 17: command[check_bioctl]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_bioctl -d ami0
1.1 andrew 18:
1.2 andrew 19: For more information on bioctl(8) see the OpenBSD man page.
20:
21: http://www.openbsd.org
22:
1.4 ! andrew 23: $RedRiver: README,v 1.3 2009/11/09 20:02:14 andrew Exp $
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>