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

Annotation of nagios/check_bioctl/README, Revision 1.2

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,
        !            11: no /etc/nrpe.cfg.
1.1       andrew     12:
                     13: /etc/sudoers:
                     14: _nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0
                     15:
                     16: /etc/nrpe.cfg:
                     17: command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0
                     18:
1.2     ! andrew     19: For more information on bioctl(8) see the OpenBSD man page.
        !            20:
        !            21: http://www.openbsd.org
        !            22:
        !            23: $RedRiver: README,v 1.1 2009/11/09 17:56:36 andrew Exp $

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