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

Diff for /nagios/check_bioctl/README between version 1.1 and 1.2

version 1.1, 2009/11/09 17:56:36 version 1.2, 2009/11/09 18:37:07
Line 1 
Line 1 
 check_bioctl - checks status of a RAID array using bioctl  check_bioctl - checks status of a RAID array using bioctl
   
   This is check for OpenBSD machines with bioctl(8) supported RAID cards.
   
 The only real caveat with it is that bioctl needs rw permission to  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  /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.  /etc/sudoers and then making the check run sudo check_bioctl.
   
 This is an example of what I have set up for NRPE. For checks on  This is an example of a setup for NRPE. For checks on the machine running
 the machine running Nagios, use the _nagios user in /etc/sudoers  Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,
 instead of _nrpe, and of course, no /etc/nrpe.cfg.  no /etc/nrpe.cfg.
   
 /etc/sudoers:  /etc/sudoers:
 _nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0  _nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0
Line 14 
Line 16 
 /etc/nrpe.cfg:  /etc/nrpe.cfg:
 command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0  command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0
   
 $RedRiver$  For more information on bioctl(8) see the OpenBSD man page.
   
   http://www.openbsd.org
   
   $RedRiver: README,v 1.1 2009/11/09 17:56:36 andrew Exp $

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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