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 | 30 | simandl | SENSOR=/usr/bin/sensors,Package,Package,4,1,0,degC |
40 | | | SENSOR=/usr/bin/sensors,Core,Core,3,1,0,degC |
41 | | | SENSOR=/usr/local/bin/getshelly,a_act_power,a_act_power,2,1,0,W |
42 | | | SENSOR=/usr/local/bin/getshelly,b_act_power,b_act_power,2,1,0,W |
43 | | | SENSOR=/usr/local/bin/getshelly,c_act_power,c_act_power,2,1,0,W |
44 | 1 | simandl | |
45 | | | |
46 | 30 | simandl | |