Advertisement
Guest User

temperature_bananian.conf

a guest
Oct 23rd, 2014
943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. ########################################################################
  2. # Extract CPU Temperature information
  3. # Page: 1
  4. # Information Status Statistics
  5. # - soc temperature - yes - yes
  6. # - pmu temperature - yes - yes
  7. # - disk temperature - yes - yes
  8. ########################################################################
  9. dynamic.1.name=soc_temp
  10. dynamic.1.source=/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input
  11. dynamic.1.regexp=(.*)
  12. dynamic.1.postprocess=$1/1000
  13. dynamic.1.rrd=GAUGE
  14.  
  15. dynamic.2.name=hddtemp
  16. dynamic.2.source=/run/hdd-temp
  17. dynamic.2.regexp=(.*)
  18. dynamic.2.postprocess=
  19. dynamic.2.rrd=GAUGE
  20.  
  21. dynamic.3.name=cputemp
  22. dynamic.3.source=/run/soc-temp
  23. dynamic.3.regexp=(.*)
  24. dynamic.3.postprocess=
  25. dynamic.3.rrd=GAUGE
  26.  
  27. web.status.1.content.4.name=Temperature
  28. web.status.1.content.4.icon=cpu_temp.png
  29. web.status.1.content.4.line.1=JustGageBar("CPU", "°C",0, data.cputemp , 100,100,80,percentColors,50,60)+" "+JustGageBar("PMU", "°C",0, data.soc_temp , 100,100,80,percentColors,35,45)+" "+JustGageBar("Disk", "°C",0, data.hddtemp , 100,100,80,percentColors,40,45)
  30.  
  31. web.statistics.1.content.8.name=Temperature
  32. web.statistics.1.content.8.graph.1=soc_temp
  33. web.statistics.1.content.8.graph.2=hddtemp
  34. web.statistics.1.content.8.graph.3=cputemp
  35. web.statistics.1.content.8.ds_graph_options.soc_temp.label=PMU temperature (deg C)
  36. web.statistics.1.content.8.ds_graph_options.hddtemp.label=HDD temperature (deg C)
  37. web.statistics.1.content.8.ds_graph_options.cputemp.label=CPU temperature (deg C)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement