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

Annotation of nagios/check_bioctl/README, Revision 1.5

1.1       andrew      1: check_bioctl - checks status of a RAID array using bioctl
                      2:
1.5     ! andrew      3: This check is for OpenBSD machines with bioctl(8) supported RAID cards.
1.2       andrew      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.5     ! andrew     23: $RedRiver: README,v 1.4 2009/11/09 20:41:49 andrew Exp $

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>