mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-26 20:38:20 +00:00
More rrd cleanups:
* Update Makefile and README to mention hwmon class for newer 2.6 kernels * Add missing shell declarations * Update URI git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4373 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5c6a3acb04
commit
1628d2af14
8 files changed
+25
-19
No files matched your search
@@ -7,7 +7,9 @@ SVN HEAD
|
||||
Add dme1737 support
|
||||
Man page sensors.conf.5: Update the chip statement section
|
||||
Program isadump: Detect when address bit 7 is a busy flag
|
||||
Program sens_update_rrd: Support non-i2c devices (hwmon class)
|
||||
Program rrd: Support non-i2c devices (hwmon class)
|
||||
Add missing shell declarations
|
||||
Update URI
|
||||
Program sensors: Drop ddcmon and eeprom support
|
||||
Add dme1737 support
|
||||
Program sensors-detect: Stop Super-I/O probe after first family success
|
||||
|
||||
+6
-3
@@ -13,9 +13,12 @@ MACH=`uname -n`
|
||||
# 2.4 kernels
|
||||
#SENSDEV=w83781d-isa-0290
|
||||
#SENSDIR=/proc/sys/dev/sensors/$(SENSDEV)
|
||||
# 2.6 kernels
|
||||
SENSDEV=0-0290
|
||||
SENSDIR=/sys/bus/i2c/devices/$(SENSDEV)
|
||||
# 2.6 kernels up to 2.6.13
|
||||
#SENSDEV=0-0290
|
||||
#SENSDIR=/sys/bus/i2c/devices/$(SENSDEV)
|
||||
# 2.6.14 and later kernels
|
||||
SENSDEV=hwmon0
|
||||
SENSDIR=/sys/class/hwmon/$(SENSDEV)/device
|
||||
################################################
|
||||
# Everything below here should be fine
|
||||
#
|
||||
|
||||
+8
-6
@@ -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 /proc or /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,8 +45,6 @@ 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:
|
||||
@@ -63,8 +61,12 @@ 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)
|
||||
2.4 kernel - look in /proc/sys/dev/sensors:
|
||||
SENSDEV=w83781d-isa-0290
|
||||
2.6 kernel up to 2.6.13 - look in /sys/i2c/bus/devices:
|
||||
SENSDEV=0-0290
|
||||
2.6.14+ kernel - look in /sys/class/hwmon:
|
||||
SENSDEV=hwmon0
|
||||
- make
|
||||
- (as root) make install, which does the following.
|
||||
If you don't want it to do this, install by hand!!!
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# sens_create_rrd -
|
||||
# Create a sensors rrd database of 14 sensor readings
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<TITLE>One Day Hardware Statistics for %%MACH%%</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- From the lm_sensors package http://www.lm-sensors.nu MDS 4/01 -->
|
||||
<H1>ONE DAY VIEW</H1>
|
||||
See also: <br>
|
||||
<a href="sens_week.cgi">One Week View</a> <br>
|
||||
@@ -218,10 +217,10 @@ See also: <br>
|
||||
</P>
|
||||
|
||||
This page generated with data and scripts from
|
||||
<a href="http://www.lm-sensors.nu/">The lm_sensors drivers</a>;
|
||||
<a href="http://www.lm-sensors.org/">the lm_sensors project</a>;
|
||||
the data are stored in a Round Robin Database and
|
||||
the graphs are generated by
|
||||
<a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/">
|
||||
<a href="http://oss.oetiker.ch/rrdtool/">
|
||||
RRD</a>.
|
||||
|
||||
</BODY>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# sens_update_rrd -
|
||||
# Update a sensors rrd database.
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<TITLE>One Week Hardware Statistics for %%MACH%%</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- From the lm_sensors package http://www.lm-sensors.nu MDS 4/01 -->
|
||||
<H1>ONE WEEK VIEW</H1>
|
||||
See also: <br>
|
||||
<a href="sens_day.cgi">One Day View</a> <br>
|
||||
@@ -218,10 +217,10 @@ See also: <br>
|
||||
</P>
|
||||
|
||||
This page generated with data and scripts from
|
||||
<a href="http://www.lm-sensors.nu/">The lm_sensors drivers</a>;
|
||||
<a href="http://www.lm-sensors.org/">the lm_sensors project</a>;
|
||||
the data are stored in a Round Robin Database and
|
||||
the graphs are generated by
|
||||
<a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/">
|
||||
<a href="http://oss.oetiker.ch/rrdtool/">
|
||||
RRD</a>.
|
||||
|
||||
</BODY>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<TITLE>One Week Summary Hardware Statistics for %%MACH%%</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- From the lm_sensors package http://www.lm-sensors.nu MDS 4/01 -->
|
||||
<H1>ONE WEEK SUMMARY VIEW</H1>
|
||||
See also: <br>
|
||||
<a href="sens_day.cgi">One Day View</a> <br>
|
||||
@@ -90,10 +89,10 @@ See also: <br>
|
||||
</P>
|
||||
|
||||
This page generated with data and scripts from
|
||||
<a href="http://www.lm-sensors.nu/">The lm_sensors drivers</a>;
|
||||
<a href="http://www.lm-sensors.org/">the lm_sensors project</a>;
|
||||
the data are stored in a Round Robin Database and
|
||||
the graphs are generated by
|
||||
<a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/">
|
||||
<a href="http://oss.oetiker.ch/rrdtool/">
|
||||
RRD</a>.
|
||||
|
||||
</BODY>
|
||||
|
||||
Reference in new issue
Block a user