From 461f128bf8b3bb1270f14b1aaf19b97a72a5fe1a Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Tue, 25 Dec 2007 12:54:50 +0000 Subject: [PATCH] Remove references to drivers which don't exist in DragonFly. --- usr.sbin/sensorsd/sensorsd.8 | 12 ++++++------ usr.sbin/sensorsd/sensorsd.conf.5 | 34 +++++++++------------------------- 2 files changed, 15 insertions(+), 31 deletions(-) diff --git a/usr.sbin/sensorsd/sensorsd.8 b/usr.sbin/sensorsd/sensorsd.8 index b2366ba65f..8149473863 100644 --- a/usr.sbin/sensorsd/sensorsd.8 +++ b/usr.sbin/sensorsd/sensorsd.8 @@ -1,5 +1,5 @@ .\" $OpenBSD: sensorsd.8,v 1.16 2007/08/11 20:45:35 cnst Exp $ -.\" $DragonFly: src/usr.sbin/sensorsd/sensorsd.8,v 1.3 2007/10/26 08:22:01 swildner Exp $ +.\" $DragonFly: src/usr.sbin/sensorsd/sensorsd.8,v 1.4 2007/12/25 12:54:50 hasso Exp $ .\" .\" Copyright (c) 2003 Henning Brauer .\" Copyright (c) 2005 Matthew Gream @@ -17,7 +17,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 11, 2007 +.Dd December 25, 2007 .Dt SENSORSD 8 .Os .Sh NAME @@ -30,9 +30,7 @@ The .Nm utility retrieves sensor monitoring data like fan speed, -temperature, voltage and -.Xr ami 4 -logical disk status via +temperature and voltage via .Xr sysctl 3 . When the state of any monitored sensor changes, an alert is sent using .Xr syslog 3 @@ -79,7 +77,9 @@ Configuration file for The .Nm program first appeared in -.Ox 3.5 . +.Ox 3.5 +and was imported into +.Dx 1.11 . .Sh CAVEATS Certain sensors may flip status from time to time. To guard against false reports, diff --git a/usr.sbin/sensorsd/sensorsd.conf.5 b/usr.sbin/sensorsd/sensorsd.conf.5 index d7ea55fa1c..c811012c55 100644 --- a/usr.sbin/sensorsd/sensorsd.conf.5 +++ b/usr.sbin/sensorsd/sensorsd.conf.5 @@ -1,5 +1,5 @@ .\" $OpenBSD: sensorsd.conf.5,v 1.18 2007/08/14 17:10:02 cnst Exp $ -.\" $DragonFly: src/usr.sbin/sensorsd/sensorsd.conf.5,v 1.2 2007/10/26 08:22:01 swildner Exp $ +.\" $DragonFly: src/usr.sbin/sensorsd/sensorsd.conf.5,v 1.3 2007/12/25 12:54:50 hasso Exp $ .\" .\" Copyright (c) 2003 Henning Brauer .\" Copyright (c) 2005 Matthew Gream @@ -17,7 +17,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 14, 2007 +.Dd December 25, 2007 .Dt SENSORSD.CONF 5 .Os .Sh NAME @@ -76,11 +76,7 @@ in the same units as they appear under the .Va hw.sensors tree. .Pp -Sensors that provide status (such as those from -.Xr bio 4 , -.Xr esm 4 , -or -.Xr ipmi 4 ) +Sensors that provide status do not require boundary values specified and simply trigger on status transitions. If boundaries are specified nonetheless, @@ -126,11 +122,8 @@ Configuration file for .Sh EXAMPLES In the following configuration file, if -.Va hw.sensors.ipmi0.temp0 -transitions 80C or -if its status as provided by -.Xr ipmi 4 -changes, the command +.Va hw.sensors.lm0.temp0 +transitions 80C, the command .Pa /etc/sensorsd/log_warning will be executed, with the sensor type, number and current value passed to it. @@ -142,30 +135,21 @@ a range of 4.8V and 5.2V; if the speed of the fan attached to .Va hw.sensors.lm0.fan1 transitions to being below or above 1000RPM; -if any RAID volume drive -changes its status from, for example, -.Dq Li OK , -such as in the case of drive failure, rebuild, or a complete failure, -the command -.Pa /etc/sensorsd/drive -will be executed, with the sensor number passed to it; however, -no alerts will be generated for status changes on timedelta sensors. +however, no alerts will be generated for status changes on +timedelta sensors. For all other sensors whose drivers automatically provide sensor status updates, alerts will be generated each time those sensors undergo status transitions. .Bd -literal -offset indent # Comments are allowed -hw.sensors.ipmi0.temp0:high=80C:command=/etc/sensorsd/log_warning %t %n %2 +hw.sensors.lm0.temp0:high=80C:command=/etc/sensorsd/log_warning %t %n %2 hw.sensors.lm0.volt3:low=4.8V:high=5.2V hw.sensors.lm0.fan1:low=1000 -drive:command=/etc/sensorsd/drive %n timedelta:istatus #ignore status changes for timedelta .Ed .Sh SEE ALSO .Xr getcap 3 , -.Xr bio 4 , -.Xr esm 4 , -.Xr ipmi 4 , +.Xr lm 4 , .Xr sensorsd 8 , .Xr sysctl 8 .Sh HISTORY -- 2.11.4.GIT