Lm sensors
Description
Monitors hardware sensors.
Kernel settings
| Linux Kernel Configuration: Kernel .config |
Device Drivers ---> -*- I2C support ---> <*> I2C device interface [*] Autoselect pertinent helper modules I2C Hardware Bus support ---> <*> Intel 82801 (ICH) -*- Hardware Monitoring support ---> <*> Intel Core/Core2/Atom temperature sensor |
USE-Flags
File: /etc/portage/package.use
net-analyzer/rrdtool rrdcgi sys-apps/lm_sensors sensord x11-libs/cairo svg
Packages
| Code: emerge lm_sensors -pv |
[ebuild N ] dev-perl/XML-Parser-2.36 225 kB [ebuild N ] x11-misc/util-macros-1.2.2 49 kB [ebuild N ] dev-util/intltool-0.40.5 138 kB [ebuild N ] x11-libs/pixman-0.14.0-r1 USE="mmx sse2 (-altivec) -debug" 345 kB [ebuild N ] x11-libs/cairo-1.8.8 USE="svg -X -cleartype -debug -directfb -doc -glitz -opengl -xcb" 6,491 kB [ebuild N ] x11-libs/pango-1.24.5 USE="-X -debug -doc" 1,485 kB [ebuild N ] net-analyzer/rrdtool-1.3.8-r1 USE="nls perl python -doc -rrdcgi -ruby -tcl" 998 kB [ebuild N ] sys-apps/lm_sensors-3.0.3 USE="sensord" 150 kB |
Installation
Configuration
File: /etc/portage/package.unmask
sys-apps/lm_sensors
# emerge lm_sensors
If you want to use rrd sensord then emerge at least one font.
# emerge dejavu
Configuration
lm_sensors
# sensors-detect
answer everything with YES.
# /etc/init.d/lm_sensors start
# rc-update add lm_sensors default
sensord
See lighttpd for about how to setup CGI .rrd file proccessing first.
File: /etc/init.d/sensord
CONFIG=/etc/sensors3.conf
File: /etc/conf.d/sensord
SENSORD_OPTIONS="--rrd-file /var/log/sensord.rrd"
# mkdir -p /var/www/localhost/htdocs/sensord
# chown -R lighttpd:root /var/www/localhost/htdocs/sensord
# /usr/sbin/sensord --config-file /etc/sensors3.conf --rrd-file /var/log/sensord.rrd --rrd-cgi="../htdocs/sensord" > /var/www/localhost/cgi-bin/sensord.rrd
# /etc/init.d/sensord start
# rc-update add sensord default