![]() ![]() |
hotsanic |
Subversion Repositories: |
Compare with Previous - Blame - Download
# SHORT DESCRIPTION## all entries have to be of the form:# SENSOR=<device-file>,<dbname>,<description>,<entry>,<scale-factor>,<add>,<unit>## <device-file> path to the file under /proc which holds the device-data## <dbname> an unique filename for the database## <description> a brief description for the webpage## <entry> 2 for fan-speed and 3 for temperature and voltage# this represents the position of the value in the# proc-file## <scale-factor> correction-factor to scale the data correctly# ( to understand this look at the lm_sensors howto )## <add> value to add to shift the data correctly# ( for e.g. +12V - see lm_sensors howto )## <unit> unit to be shown in diagrams and on webpage# ( for example °C, V, Volts, RPM etc... )## Example:## SENSOR=/proc/sys/dev/sensors/gl518sm-i2c-0-2d/temp,temp,CPU temp,3,1,0,°C#### FreeBSD Users:# The only fields required are:# <dbname> which is an item from the left column in 'mbmon -rc1'# <description> as above# <unit> as above## Example:# SENSOR=,TEMP0,Motherboard Temp,,,,CSENSOR=/usr/bin/sensors,mbtemp,M/B Temp,3,1,0,°CSENSOR=/usr/bin/sensors,cputemp,CPU Temp,3,1,0,°CSENSOR=/usr/bin/sensors,5v,+5V,2,1,0,VSENSOR=/usr/bin/sensors,12v,+12V,2,1,0,VSENSOR=/usr/sbin/hddtemp /dev/hda,hdatemp,/dev/hda,4,1,0,°CSENSOR=/usr/sbin/hddtemp /dev/hdb,hdbtemp,/dev/hdb,3,1,0,°C