--- src/usr.sbin/sensorsd/sensorsd.conf.5 2007/10/26 08:22:01 1.2 +++ src/usr.sbin/sensorsd/sensorsd.conf.5 2007/12/25 12:54:50 1.3 @@ -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 t .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