mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +00:00
rrd: Misc updates
* More hwmon class changes * Look for rrd in /usr/bin by default * Add missing shell declarations * Update URI git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4372 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
0aa2104341
commit
ba7cb8eeca
8 files changed
+22
-27
No files matched your search
+5
-8
@@ -6,7 +6,7 @@ graphs of sensor data.
|
||||
|
||||
The RRD (Round Robin Database) package is REQUIRED.
|
||||
Get this package from
|
||||
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
|
||||
http://oss.oetiker.ch/rrdtool/
|
||||
|
||||
A web server with CGI support is required.
|
||||
|
||||
@@ -26,7 +26,7 @@ following advantages:
|
||||
If you are looking for something a little simpler,
|
||||
that does not require RRD, try ../tellerstats.
|
||||
|
||||
The RRD scripts read /proc entries and do not use libsensors.
|
||||
The RRD scripts read /sys entries and do not use libsensors.
|
||||
Therefore the scale factors in /etc/sensors.conf are not used,
|
||||
and you may have to change the scale factors in the cgi scripts.
|
||||
|
||||
@@ -45,15 +45,13 @@ INSTALLATION INSTRUCTIONS
|
||||
- Make and install lm_sensors. Get it working (run 'sensors')
|
||||
before you try this!
|
||||
- Get RRD, make and install it
|
||||
- cd /usr/local; ln -s rrdtool-x.y.z rrdtool
|
||||
- cd back to here
|
||||
- Edit the top of the Makefile. Do NOT skip this step.
|
||||
The defaults will probably not work for you.
|
||||
Here are the defaults:
|
||||
Cron user
|
||||
USER=httpd
|
||||
Path to rrdtool and rrdcgi
|
||||
RRDPATH=/usr/local/rrdtool/bin
|
||||
RRDPATH=/usr/bin
|
||||
Place to install sens_update_rrd script
|
||||
BINPATH=/usr/local/bin
|
||||
Place to store the database
|
||||
@@ -63,8 +61,7 @@ INSTALLATION INSTRUCTIONS
|
||||
APACHDIR=$(APACHE)/senspix
|
||||
The sensor device in your system
|
||||
(isa recommended over i2c if both are available)
|
||||
SENSDEV=w83781d-isa-0290 (2.4 kernel - look in /proc/sys/dev/sensors)
|
||||
SENSDEV=0-0290 (2.6 kernel - look in /sys/i2c/bus/devices)
|
||||
SENSDEV=hwmon0 (look in /sys/class/hwmon)
|
||||
- make
|
||||
- (as root) make install, which does the following.
|
||||
If you don't want it to do this, install by hand!!!
|
||||
@@ -74,7 +71,7 @@ INSTALLATION INSTRUCTIONS
|
||||
- Manually add the following line to the crontab for
|
||||
the user specified above, which will call the data gathering
|
||||
script every 5 minutes (adjust paths as necessary)
|
||||
*/5 * * * * /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd w83781d-isa-0290
|
||||
*/5 * * * * /usr/local/bin/sens_update_rrd /var/lib/sensors-rrd/sensors.rrd hwmon0
|
||||
- Load http://localhost/senspix/sens_day.cgi in your web browser
|
||||
to test
|
||||
|
||||
|
||||
Reference in new issue
Block a user