Hardware Sensors
Revision as of 20:14, 9 December 2010 by Gr0x0rd (talk | contribs) (→Configuring Hardware - Hardware Sensors)
Configuring Hardware - Hardware Sensors
Chances are your hardware contains a number of sensors for monitoring temperature, power, fan speed and more. The package that installs the tools is called lm_sensors. Make sure you have the lm_sensors USE flag set in your /etc/make.conf. You will also want to set the package-specific USE flag sensord in your /etc/portage/package.use.
$ sudo emerge -av lm_sensors
To enable the sensors logging daemon, you'll need to configure and restart syslog-ng.
$ sudo nano -w /etc/syslog-ng/syslog-ng.conf
Make sure the file contains the following directives:
...
destination sensord { file("/var/log/sensord"); };
filter f_sensord { facility(daemon); };
log { source(src); filter(f_sensord); destination(sensord); };
...