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

Diff for /nagios/check_bioctl/README between version 1.3 and 1.7

version 1.3, 2009/11/09 20:02:14 version 1.7, 2017/02/08 16:31:55
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.  This check is 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/doas.conf.
   
 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/doas.conf 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 doas.conf entry that matches each device you wish to check. If
   you have multiple RAID volumes, you'll need one permit rules per volume.
   
 /etc/sudoers:  /etc/doas.conf:
 _nrpe ALL = NOPASSWD:${PREFIX}/libexec/nagios/check_bioctl -d ami0  permit nopass _nrpe as root cmd /sbin/bioctl args ami0
   permit nopass _nrpe as root cmd /sbin/bioctl args ami1
   
 /etc/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  https://www.openbsd.org
   
 $RedRiver: README,v 1.2 2009/11/09 18:37:07 andrew Exp $  $AFresh1: README,v 1.6 2014/06/27 18:59:56 andrew Exp $

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.7

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