Lm sensors: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
== Configuration == | == Configuration == | ||
=== lm_sensors === | |||
{{Codeline|# sensors-detect}} | |||
answer everything with YES. | |||
{{Codeline|# /etc/init.d/lm_sensors start}} | |||
{{Codeline|# rc-update add lm_sensors default}} | |||
=== sensord === | |||
See [[lighttpd]] for about how to setup CGI .rrd file proccessing first. | |||
{{Box File|/etc/init.d/sensord| | |||
<pre> | |||
CONFIG=/etc/sensors3.conf | |||
</pre> | |||
}} | |||
{{Box File|/etc/conf.d/sensord| | |||
<pre> | |||
SENSORD_OPTIONS="--rrd-file /var/log/sensord.rrd" | |||
</pre> | |||
}} | |||
{{Codeline|# mkdir -p /var/www/localhost/htdocs/sensord}} | |||
{{Codeline|# /usr/sbin/sensord --config-file /etc/sensors.conf --rrd-file /var/log/sensord.rrd --rrd-cgi=sensord > /var/www/localhost/htdocs/sensord/sensord.rrd}} | |||
{{Codeline|# /etc/init.d/sensord start}} | |||
{{Codeline|# rc-update add sensord default}} | |||
Revision as of 16:09, 27 August 2009
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
Packages
Installation
Configuration
# emerge lm_sensors
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.
# mkdir -p /var/www/localhost/htdocs/sensord
{{{1}}}
# /etc/init.d/sensord start
# rc-update add sensord default