check_hw_sensors (Visit this link)
from 0 votesWorks like sensorsd(8) but reports to Nagios. Allows you to monitor the hardware sensors that OpenBSD supports. Things like fan speed, temperature and many more.
Examples of some sensors that can be monitored:
hw.sensors.esm0.temp0=32.00 degC (CPU 1)
hw.sensors.esm0.fan2=3667 RPM (Backplane Fan 1), OK
hw.sensors.esm0.fan8=0 RPM (Fan 1), CRITICAL
hw.sensors.esm0.indicator0=Off (Chassis Intrusion)
hw.sensors.esm0.drive0=online (Drive 0)
hw.sensors.esm0.drive2=unknown (Drive 2)
hw.sensors.safte0.temp0=27.78 degC, OK
hw.sensors.safte0.indicator0=On (Fan0), OK
This can be handled with just running:
check_hw_sensors
but that will report that esm0.fan8 is critical and OK(3)
Once you figure out that fan doesn't actually exist, you probably need a config file:
hw.sensors.esm0.temp0:warn.low=25:warn.high=35:crit.low=20:crit.high=40
hw.sensors.esm0.fan8:ignore
hw.sensors.esm0.indicator0:crit=Off
hw.sensors.esm0.drive0:crit=online
hw.sensors.esm0.drive2:crit=unknown
The sensors that report their status (OK, CRITICAL at the end of the line) are handled automatically. Sensors that don't report that you have to give acceptable values. The config file lists acceptable values, not values that are actually critical. So, with the above config as '/etc/sensorsd.conf' running:
check_hw_sensors -f
will tell you OK(7) or, possibly OK(55) or even more depending on hardware.
v1.42 now obeys the timeout from utils.pm
Submitted by: afresh1
Hits: 265
Overall downloads: 48
Added: 2009-11-11 19:21:39
Last Modified: 2009-12-13 08:46:07
| Filename | Preview | Size | Description | DL |
|---|---|---|---|---|
| check_hw_sensors-1.40.tar.gz | 5 kb | check_hw_sensors v1.40 | 30 | |
| check_hw_sensors-1.42.tar.gz | 5 kb | check_hw_sensors v1.42 | 75 |
Comments
Be the first to comment this project.
Leave a reply
If you just want to rate the project leave the other field empty.
Even though it would be nice if you would drop a line.
-
OpenBSD Memory
from 0 votesChecks memory usage -
Monitor an IPsec VPN tunnel on OpenBSD
from 0 votesThis article describes how to monitor an IPSEC tunnel running on OpenBSD. I could not find any plugin already done so I created my own. -
Check relayd status
from 0 votesCheck for specified pattern in commandoutput 'relayctl show hosts'


