version 1.6, 2007/01/06 03:27:53 |
version 1.7, 2008/03/10 17:31:12 |
|
|
<h1>Nagios Check - check_hw_sensors</h1> |
<h1>Nagios Check - check_hw_sensors</h1> |
<p>check_hw_sensors plugin for Nagios monitors sysctl hw.sensors on OpenBSD</p> |
<p>check_hw_sensors plugin for Nagios monitors sysctl hw.sensors on OpenBSD</p> |
<p>With the new sensor framework in OpenBSD 3.9, I wanted to be able to monitor the new hw.sensors from <a href='http://www.nagios.org/'>Nagios</a> and this is what I have. The documentation is a bit thin and I don't know how reliable it is. I would be happy to accept patches. Send them to <a href='mailto:andrew+nagios@rraz.net'>andrew+nagios@rraz.net</a>. I know the docs aren't as good as I would like, so if there are places that need clarification, please let me know!</p> |
<p>With the new sensor framework in OpenBSD 3.9, I wanted to be able to monitor the new hw.sensors from <a href='http://www.nagios.org/'>Nagios</a> and this is what I have. The documentation is a bit thin and I don't know how reliable it is. I would be happy to accept patches. Send them to <a href='mailto:andrew+nagios@rraz.net'>andrew+nagios@rraz.net</a>. I know the docs aren't as good as I would like, so if there are places that need clarification, please let me know!</p> |
<p>New in this release is support for the new 2 level sensors in OpenBSD 4.0-current. They seem way more better, and I may change some stuff to only support that version after I get all my machines moved to 4.1</p> |
<p>New in this release is support for the new 2 level sensors in OpenBSD 4.0-current. They seem way more better, and I may change some stuff to only support that version after I get all my machines moved to 4.1.</p> |
|
<p>They changed the output again, so 1.23 is an update to fix that.</p> |
<p>It has the ability to check the sensors that report their status. Since many sensors support this, it can make the size of your sensorsd.conf much smaller. For example, check_hw_sensors will automatically check these two sensors: |
<p>It has the ability to check the sensors that report their status. Since many sensors support this, it can make the size of your sensorsd.conf much smaller. For example, check_hw_sensors will automatically check these two sensors: |
<ul> |
<ul> |
<li>hw.sensors.76=esm0, Fan 4, 3629 RPM, OK</li> |
<li>hw.sensors.76=esm0, Fan 4, 3629 RPM, OK</li> |
|
|
<li>the RANGE using the colon to separate probably screws up the getcap of sensorsd.conf, so it should probably get replaced with a dash or somesuch</li> |
<li>the RANGE using the colon to separate probably screws up the getcap of sensorsd.conf, so it should probably get replaced with a dash or somesuch</li> |
</ul> |
</ul> |
</p> |
</p> |
<p><center><b><a href='check_hw_sensors-1.22.tar.gz'>Download the current version here</a></b></center></p> |
<p><center><b><a href='check_hw_sensors-1.25.tar.gz'>Download the current version here</a></b></center></p> |
<h4> |
<h4> |
Please be sure to support the <a href="http://www.openbsd.org">OpenBSD</a> |
Please be sure to support the <a href="http://www.openbsd.org">OpenBSD</a> |
project by purchasing |
project by purchasing |
|
|
<pre> |
<pre> |
RCS file: /cvs/scripts/Admin scripts/check_hw_sensors/check_hw_sensors,v |
RCS file: /cvs/scripts/Admin scripts/check_hw_sensors/check_hw_sensors,v |
Working file: check_hw_sensors |
Working file: check_hw_sensors |
head: 1.22 |
head: 1.25 |
branch: |
branch: |
locks: strict |
locks: strict |
access list: |
access list: |
symbolic names: |
symbolic names: |
keyword substitution: kv |
keyword substitution: kv |
total revisions: 22; selected revisions: 22 |
total revisions: 25; selected revisions: 25 |
description: |
description: |
---------------------------- |
---------------------------- |
|
revision 1.25 |
|
date: 2008/03/10 16:21:53; author: andrew; state: Exp; lines: +5 -5 |
|
Fix it for sensors with more than 1 digit at the end. |
|
---------------------------- |
|
revision 1.24 |
|
date: 2007/02/14 21:59:10; author: andrew; state: Exp; lines: +5 -4 |
|
Add an idea to the TODO list. |
|
---------------------------- |
|
revision 1.23 |
|
date: 2007/01/22 02:38:35; author: andrew; state: Exp; lines: +8 -5 |
|
again they change the output! |
|
---------------------------- |
revision 1.22 |
revision 1.22 |
date: 2007/01/06 03:16:41; author: andrew; state: Exp; lines: +11 -4 |
date: 2007/01/06 03:16:41; author: andrew; state: Exp; lines: +11 -4 |
Support the new dual level sensors |
Support the new dual level sensors |
|
|
============================================================================= |
============================================================================= |
</pre> |
</pre> |
<p>Andrew Fresh <<a href='mailto:andrew@mad-techies.org'>andrew@mad-techies.org</a>></p> |
<p>Andrew Fresh <<a href='mailto:andrew@mad-techies.org'>andrew@mad-techies.org</a>></p> |
<p><small>$RedRiver: index.html,v 1.5 2006/12/05 16:44:14 andrew Exp $</small></p> |
<p><small>$RedRiver: index.html,v 1.6 2007/01/06 03:27:53 andrew Exp $</small></p> |
</body> |
</body> |
</html> |
</html> |
|
|