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

Diff for /nagios/check_bioctl/README between version 1.5 and 1.6

version 1.5, 2009/11/12 18:55:03 version 1.6, 2014/06/27 19:59:56
Line 4 
Line 4 
   
 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.
   
 This is an example of a setup for NRPE. For checks on the machine running  This is an example of a setup for NRPE. For checks on the machine running
 Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,  Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,
 no ${SYSCONFDIR}/nrpe.cfg.  no ${SYSCONFDIR}/nrpe.cfg.  check_bioctl runs bioctl once for each device, so
   you will need a sudoers entry that matches each device you wish to check.
   
 /etc/sudoers:  /etc/sudoers:
 _nrpe ALL = NOPASSWD:${PREFIX}/libexec/nagios/check_bioctl -d ami0  _nrpe ALL = NOPASSWD:/sbin/bioctl ami[01]
   
 ${SYSCONFDIR}/nrpe.cfg:  ${SYSCONFDIR}/nrpe.cfg:
 command[check_bioctl]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_bioctl -d ami0  command[check_bioctl]=${PREFIX}/libexec/nagios/check_bioctl -d ami0 -d ami1
   
 For more information on bioctl(8) see the OpenBSD man page.  For more information on bioctl(8) see the OpenBSD man page.
   
 http://www.openbsd.org  http://www.openbsd.org
   
 $RedRiver: README,v 1.4 2009/11/09 20:41:49 andrew Exp $  $AFresh1$

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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