Show
Ignore:
Timestamp:
04/20/07 15:09:41 (7 years ago)
Author:
khali
Message:

rrd: Misc updates
* More hwmon class changes
* Look for rrd in /usr/bin by default
* Add missing shell declarations
* Update URI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/rrd/README

    r3075 r4372  
    77The RRD (Round Robin Database) package is REQUIRED. 
    88Get this package from 
    9          http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ 
     9         http://oss.oetiker.ch/rrdtool/ 
    1010 
    1111A web server with CGI support is required. 
     
    2727that does not require RRD, try ../tellerstats. 
    2828 
    29 The RRD scripts read /proc entries and do not use libsensors. 
     29The RRD scripts read /sys entries and do not use libsensors. 
    3030Therefore the scale factors in /etc/sensors.conf are not used, 
    3131and you may have to change the scale factors in the cgi scripts. 
     
    4646          before you try this! 
    4747        - Get RRD, make and install it 
    48         - cd /usr/local; ln -s rrdtool-x.y.z rrdtool 
    49         - cd back to here 
    5048        - Edit the top of the Makefile. Do NOT skip this step. 
    5149          The defaults will probably not work for you. 
     
    5452                        USER=httpd 
    5553                Path to rrdtool and rrdcgi 
    56                         RRDPATH=/usr/local/rrdtool/bin 
     54                        RRDPATH=/usr/bin 
    5755                Place to install sens_update_rrd script 
    5856                        BINPATH=/usr/local/bin 
     
    6462                The sensor device in your system 
    6563                (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) 
    6865        - make 
    6966        - (as root) make install, which does the following. 
     
    7572          the user specified above, which will call the data gathering 
    7673          script every 5 minutes (adjust paths as necessary) 
    77                 */5 * * * *     /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd w83781d-isa-0290 
     74                */5 * * * *     /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd hwmon0 
    7875        - Load http://localhost/senspix/sens_day.cgi in your web browser 
    7976                to test