Changeset 4372 for lm-sensors/branches/lm-sensors-3.0.0/prog/rrd/README
- Timestamp:
- 04/20/07 15:09:41 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/rrd/README
r3075 r4372 7 7 The RRD (Round Robin Database) package is REQUIRED. 8 8 Get this package from 9 http:// people.ee.ethz.ch/~oetiker/webtools/rrdtool/9 http://oss.oetiker.ch/rrdtool/ 10 10 11 11 A web server with CGI support is required. … … 27 27 that does not require RRD, try ../tellerstats. 28 28 29 The RRD scripts read / procentries and do not use libsensors.29 The RRD scripts read /sys entries and do not use libsensors. 30 30 Therefore the scale factors in /etc/sensors.conf are not used, 31 31 and you may have to change the scale factors in the cgi scripts. … … 46 46 before you try this! 47 47 - Get RRD, make and install it 48 - cd /usr/local; ln -s rrdtool-x.y.z rrdtool49 - cd back to here50 48 - Edit the top of the Makefile. Do NOT skip this step. 51 49 The defaults will probably not work for you. … … 54 52 USER=httpd 55 53 Path to rrdtool and rrdcgi 56 RRDPATH=/usr/ local/rrdtool/bin54 RRDPATH=/usr/bin 57 55 Place to install sens_update_rrd script 58 56 BINPATH=/usr/local/bin … … 64 62 The sensor device in your system 65 63 (isa recommended over i2c if both are available) 66 SENSDEV=w83781d-isa-0290 (2.4 kernel - look in /proc/sys/dev/sensors) 67 SENSDEV=0-0290 (2.6 kernel - look in /sys/i2c/bus/devices) 64 SENSDEV=hwmon0 (look in /sys/class/hwmon) 68 65 - make 69 66 - (as root) make install, which does the following. … … 75 72 the user specified above, which will call the data gathering 76 73 script every 5 minutes (adjust paths as necessary) 77 */5 * * * * /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd w83781d-isa-029074 */5 * * * * /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd hwmon0 78 75 - Load http://localhost/senspix/sens_day.cgi in your web browser 79 76 to test
