diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2007-05-30 07:49:38 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2007-05-30 07:49:38 +0000 |
commit | 598c2422d97e24eead099347fe8d7d5295ae8eba (patch) | |
tree | 6515c92f023ec21544f2d5983b6aceb5c2cb84c4 /etc | |
parent | fcdde353bb85f1845ab4e0db235f42e459898b86 (diff) |
Major update to sensorsd.
Improves support for both 'smart' (those providing sensor status) and
'old-style' sensors.
Due to re-design, the following improvements are now present and many
flaws are now gone:
== for smart sensors ==
* automatically monitor all sensors that provide status by themselves,
with the possibility to ignore certain individual sensors or sensors
of certain type (appropriate template for sensorsd.conf is included)
* report actual sensor status as provided by the driver. Previously,
WARN, CRITICAL and UNKNOWN statuses were considered the same, but
now they are different and will be reported separately. This also
improves readability of the log-files and consistency with sysctl
output.
* ability to ignore status provided by the driver with the 'istatus'
keyword ("ignore automatic status" or "I set the status"), with the
possibility to set your own settings for acceptable limits.
Previously, it was not possible to set any kind of user limits for
those sensors that had their own status facilities.
== for old-style sensors ==
* previously, lm(4)-style fans that were flagged SENSOR_FINVALID during
sensorsd startup were completely ignored, but now their invalid status
is appropriately reported, and they are monitored again when they come
out of their invalid mode
* previously, a sensor that had an empty entry in the configuration file
was reported to be "within limits", but now it will not be monitored
at all (unless, of cause, it provides its own status)
As a bonus, sensorsd syslog entries should now be shorter, and the
majority of them will fit on one line on 80-column terminals.
ok beck@, henning@, deraadt@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sensorsd.conf | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/etc/sensorsd.conf b/etc/sensorsd.conf index 2fe1f2551bd..e4eb6c36785 100644 --- a/etc/sensorsd.conf +++ b/etc/sensorsd.conf @@ -1,4 +1,4 @@ -# $OpenBSD: sensorsd.conf,v 1.6 2007/05/29 06:04:41 jmc Exp $ +# $OpenBSD: sensorsd.conf,v 1.7 2007/05/30 07:49:37 cnst Exp $ # # Sample sensorsd.conf file. See sensorsd.conf(5) for details. @@ -19,14 +19,31 @@ # CPU fan (RPM) #hw.sensors.lm0.fan1:low=3000 -# Warn if indicator status changes, -# e.g. intrusion detection on ipmi. -#indicator: +# ignore certain indicators on ipmi(4) +#hw.sensors.ipmi0.indicator1:istatus # Warn if any temperature sensor is over 70 degC. # This entry will match only those temperature sensors # that don't have their own entry and don't keep state. #temp:high=70C -# RAID drive status changes -#drive: + +# By default, sensorsd(8) reports status changes of all sensors that +# keep their state. Uncomment the following lines if you want to +# suppress reports about status changes of specific sensor types. + +#temp:istatus +#fan:istatus +#volt:istatus +#acvolt:istatus +#resistance:istatus +#power:istatus +#current:istatus +#watthour:istatus +#amphour:istatus +#indicator:istatus +#raw:istatus +#percentage:istatus +#illuminance:istatus +#drive:istatus +#timedelta:istatus |