summaryrefslogtreecommitdiff
path: root/usr.sbin/sensorsd/sensorsd.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sensorsd/sensorsd.conf.5')
-rw-r--r--usr.sbin/sensorsd/sensorsd.conf.520
1 files changed, 17 insertions, 3 deletions
diff --git a/usr.sbin/sensorsd/sensorsd.conf.5 b/usr.sbin/sensorsd/sensorsd.conf.5
index f4334198988..f81e51f2277 100644
--- a/usr.sbin/sensorsd/sensorsd.conf.5
+++ b/usr.sbin/sensorsd/sensorsd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sensorsd.conf.5,v 1.10 2006/12/28 10:04:27 jmc Exp $
+.\" $OpenBSD: sensorsd.conf.5,v 1.11 2007/05/29 02:02:12 cnst Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\" Copyright (c) 2005 Matthew Gream <matthew.gream@pobox.com>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd March 15, 2005
+.Dd May 28, 2007
.Dt SENSORSD.CONF 5
.Os
.Sh NAME
@@ -29,7 +29,10 @@ The
file is read by
.Xr sensorsd 8
to configure hardware sensor monitoring.
-Each entry represents one sensor and may specify high and low limits.
+Each valid sensor registered in the system
+shall be matched by at most one entry in
+.Nm ,
+which may specify high and low limits.
If the limits are crossed,
.Xr sensorsd 8 's
alert functionality is triggered and a command, if specified, is
@@ -38,6 +41,17 @@ executed.
.Nm
follows the syntax of configuration databases as documented in
.Xr getcap 3 .
+Full
+.Va hw.sensors
+.Xr sysctl 8
+addresses are used to find entries,
+with a fallback on sensor types.
+For example, if an entry with a full name of a certain temperature
+sensor is not present in
+.Nm ,
+then an entry
+.Va temp
+will be looked at to determine the limits.
The following attributes may be used:
.Pp
.Bl -tag -width "commandXX" -offset indent -compact