Annotation of nagios/check_bioctl/README, Revision 1.1
1.1 ! andrew 1: check_bioctl - checks status of a RAID array using bioctl
! 2:
! 3: The only real caveat with it is that bioctl needs rw permission to
! 4: /dev/bio. One way to allow for that is by adding an entry to
! 5: /etc/sudoers and then making the check run sudo check_bioctl.
! 6:
! 7: This is an example of what I have set up for NRPE. For checks on
! 8: the machine running Nagios, use the _nagios user in /etc/sudoers
! 9: instead of _nrpe, and of course, no /etc/nrpe.cfg.
! 10:
! 11: /etc/sudoers:
! 12: _nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0
! 13:
! 14: /etc/nrpe.cfg:
! 15: command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0
! 16:
! 17: $RedRiver$
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>