Annotation of nagios/check_bioctl/check_bioctl.html, Revision 1.6
1.1 andrew 1: <html>
2: <head>
3: <title>Nagio Check - check_bioctl</title>
4: </head>
5: <body>
6: <h1>Nagios Check - check_bioctl</h1>
1.6 ! andrew 7: <h3>check_bioctl - checks status of a RAID array using bioctl</h3>
! 8:
! 9: <p>This check is for OpenBSD machines with bioctl(8) supported RAID cards.
! 10:
! 11: <p>
! 12: The only real caveat with it is that bioctl needs rw permission to
! 13: /dev/bio. One way to allow for that is by adding an entry to
! 14: /etc/doas.conf.
! 15: </p>
! 16:
! 17: <p>
! 18: This is an example of a setup for NRPE. For checks on the machine running
! 19: Nagios, use the _nagios user in /etc/doas.conf instead of _nrpe, and of course,
! 20: no ${SYSCONFDIR}/nrpe.cfg. check_bioctl runs bioctl once for each device, so
! 21: you will need a doas.conf entry that matches each device you wish to check. If
! 22: you have multiple RAID volumes, you'll need one permit rules per volume.
! 23: </p>
! 24:
! 25: <pre>
! 26: /etc/doas.conf:
! 27: permit nopass _nrpe as root cmd /sbin/bioctl args ami0
! 28: permit nopass _nrpe as root cmd /sbin/bioctl args ami1
! 29: </pre>
! 30:
! 31: <pre>
! 32: ${SYSCONFDIR}/nrpe.cfg:
! 33: command[check_bioctl]=${PREFIX}/libexec/nagios/check_bioctl -d ami0 -d ami1
! 34: </pre>
! 35:
! 36: <p>
! 37: For more information on
! 38: <a href="http://man.openbsd.org/bioctl.8">bioctl(8) see the OpenBSD man page</a>.
! 39: </p>
! 40:
! 41: <p>
! 42: <a href="check_bioctl-1.21.tar.gz">Download v1.21</a>
! 43: </p>
1.1 andrew 44: </body>
45: </head>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>