| 1 | 1 | simandl | # SHORT DESCRIPTION |
| 2 | | | # |
| 3 | | | # all entries have to be of the form: |
| 4 | | | # SENSOR=<device-file>,<dbname>,<description>,<entry>,<scale-factor>,<add>,<unit> |
| 5 | | | # |
| 6 | | | # <device-file> path to the file under /proc which holds the device-data |
| 7 | | | # |
| 8 | | | # <dbname> an unique filename for the database |
| 9 | | | # |
| 10 | | | # <description> a brief description for the webpage |
| 11 | | | # |
| 12 | | | # <entry> 2 for fan-speed and 3 for temperature and voltage |
| 13 | | | # this represents the position of the value in the |
| 14 | | | # proc-file |
| 15 | | | # |
| 16 | | | # <scale-factor> correction-factor to scale the data correctly |
| 17 | | | # ( to understand this look at the lm_sensors howto ) |
| 18 | | | # |
| 19 | | | # <add> value to add to shift the data correctly |
| 20 | | | # ( for e.g. +12V - see lm_sensors howto ) |
| 21 | | | # |
| 22 | | | # <unit> unit to be shown in diagrams and on webpage |
| 23 | | | # ( for example °C, V, Volts, RPM etc... ) |
| 24 | | | # |
| 25 | | | # Example: |
| 26 | | | # |
| 27 | | | # SENSOR=/proc/sys/dev/sensors/gl518sm-i2c-0-2d/temp,temp,CPU temp,3,1,0,°C |
| 28 | | | # |
| 29 | | | # |
| 30 | | | # |
| 31 | | | # FreeBSD Users: |
| 32 | | | # The only fields required are: |
| 33 | | | # <dbname> which is an item from the left column in 'mbmon -rc1' |
| 34 | | | # <description> as above |
| 35 | | | # <unit> as above |
| 36 | | | # |
| 37 | | | # Example: |
| 38 | | | # SENSOR=,TEMP0,Motherboard Temp,,,,C |
| 39 | | | SENSOR=/usr/bin/sensors,mbtemp,M/B Temp,3,1,0,°C |
| 40 | | | SENSOR=/usr/bin/sensors,cputemp,CPU Temp,3,1,0,°C |
| 41 | | | SENSOR=/usr/bin/sensors,5v,+5V,2,1,0,V |
| 42 | | | SENSOR=/usr/bin/sensors,12v,+12V,2,1,0,V |
| 43 | | | SENSOR=/usr/sbin/hddtemp /dev/hda,hdatemp,/dev/hda,4,1,0,°C |
| 44 | | | SENSOR=/usr/sbin/hddtemp /dev/hdb,hdbtemp,/dev/hdb,3,1,0,°C |
| 45 | | | |
| 46 | | | |