version 1.1, 2006/07/28 01:04:33 |
version 1.7, 2017/02/08 17:36:04 |
|
|
</head> |
</head> |
<body> |
<body> |
<h1>Nagios Check - check_bioctl</h1> |
<h1>Nagios Check - check_bioctl</h1> |
<p>check_bioctl plugin for <a href="http://www.nagios.org">Nagios</a> monitors RAID arrays on <a href="http://www.openbsd.org">OpenBSD</a> using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl">bioctl</a>.</p> |
<h3>check_bioctl - checks status of a RAID array using bioctl</h3> |
<p>The new raid framework in OpenBSD is really kewl. The fact the commands are the same, no matter which RAID card you use is just amazingly handy. </p> |
|
<p>TODO: |
<p>This check is for OpenBSD machines with bioctl(8) supported RAID cards. |
<ul> |
|
<li>need real documentation.</li> |
<p> |
</ul> |
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 |
|
/etc/doas.conf. |
</p> |
</p> |
<p><center><b><a href='check_bioctl-1.3.tar.gz'>Download the current version here</a></b></center></p> |
|
<h4> |
|
Please be sure to support the <a href="http://www.openbsd.org">OpenBSD</a> |
|
project by purchasing |
|
<a href="http://www.openbsd.org/items.html">CDs</a>, |
|
<a href="http://www.openbsd.org/tshirts.html">T-shirts</a>, or making a |
|
<a href="http://www.openbsd.org/donations.html">donation</a>. |
|
<br /> |
|
These finances ensure that OpenBSD will continue to exist, and |
|
will remain <a href="http://www.openbsd.org/policy.html">free</a> |
|
for everyone to use and reuse as they see fit. |
|
</h4> |
|
<pre> |
|
check_bioctl plugin for Nagios monitors bioctl on OpenBSD |
|
check_bioctl -d <device> [ -d <device2> [ -d ... ] ] |
|
|
|
Usage: |
<p> |
-d, --device=DEVICE |
This is an example of a setup for NRPE. For checks on the machine running |
DEVICE to check. Can be any device that bioctl(8) accepts |
Nagios, use the _nagios user in /etc/doas.conf instead of _nrpe, and of course, |
-h, --help usage help |
no ${SYSCONFDIR}/nrpe.cfg. check_bioctl runs bioctl once for each device, so |
-V, --version version information |
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. |
|
</p> |
|
|
check_bioctl (nagios-plugins 1.4.2) 1.3 |
<pre> |
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute |
/etc/doas.conf: |
copies of the plugins under the terms of the GNU General Public License. |
permit nopass _nrpe as root cmd /sbin/bioctl args ami0 |
For more information about these matters, see the file named COPYING. |
permit nopass _nrpe as root cmd /sbin/bioctl args ami1 |
</pre> |
</pre> |
|
|
|
<pre> |
|
${SYSCONFDIR}/nrpe.cfg: |
|
command[check_bioctl]=${PREFIX}/libexec/nagios/check_bioctl -d ami0 -d ami1 |
|
</pre> |
|
|
|
<p> |
|
For more information on |
|
<a href="http://man.openbsd.org/bioctl.8">bioctl(8) see the OpenBSD man page</a>. |
</p> |
</p> |
<p>Andrew Fresh <<a href='mailto:andrew@mad-techies.org'>andrew@mad-techies.org</a>></p> |
|
<p><small>$RedRiver$</small></p> |
<p> |
|
<a href="check_bioctl-1.22.tar.gz">Download v1.22</a> |
|
</p> |
</body> |
</body> |
</head> |
</head> |