root/lm-sensors/trunk/prog/rrd/summ_week.in

Revision 4372, 2.4 KB (checked in by khali, 5 years ago)

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!%%RRDPATH%%/rrdcgi
2
3<HTML>
4<HEAD>
5<TITLE>One Week Summary Hardware Statistics for %%MACH%%</TITLE>
6</HEAD>
7<BODY>
8<H1>ONE WEEK SUMMARY VIEW</H1>
9See also: <br>
10<a href="sens_day.cgi">One Day View</a> <br>
11<a href="sens_week.cgi">One Week View</a> <br>
12
13<H1>TEMPERATURES</H1>
14
15
16<P><RRD::GRAPH %%APACHDIR%%/pix/tempall.png
17        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
18        -a PNG
19        -h 200 -w 800
20        --lazy
21        -s -1week
22        -v "Temperature (degrees C); Load Avg * 10"
23        -t "Temperatures and Load Average"
24        -x HOUR:6:DAY:1:DAY:1:86400:'%a %b %d'
25        -y 5:10
26        DEF:temp=%%RRDDIR%%/sensors.rrd:temp1:AVERAGE
27        DEF:ttemp=%%RRDDIR%%/sensors.rrd:temp2:AVERAGE
28        DEF:la=%%RRDDIR%%/sensors.rrd:loadavg:AVERAGE
29        CDEF:lla=10,la,*
30        LINE2:ttemp#FF0000:"CPU Temp"
31        LINE2:temp#FF00FF:"Motherboard Temp"
32        LINE2:lla#00FFFF:"Load Average * 10">
33</P>
34
35
36<H1>FANS</H1>
37
38<P><RRD::GRAPH %%APACHDIR%%/pix/fanall.png
39        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
40        -a PNG
41        -h 200 -w 800
42        --lazy
43        -s -1week
44        -v "Fan speed (RPM)"
45        -t "Fan speeds"
46        -u 5000
47        --units-exponent 0
48        --alt-autoscale
49        -x HOUR:6:DAY:1:DAY:1:86400:'%a %b %d'
50        DEF:f1=%%RRDDIR%%/sensors.rrd:fan1:AVERAGE
51        DEF:f2=%%RRDDIR%%/sensors.rrd:fan2:AVERAGE
52        DEF:f3=%%RRDDIR%%/sensors.rrd:fan3:AVERAGE
53        LINE2:f1#FF00FF:"Fan 1"
54        LINE2:f2#FF0000:"Fan 2"
55        LINE2:f3#00FFFF:"Fan 3">
56</P>
57
58<H1>POWER SUPPLIES</H1>
59
60<P><RRD::GRAPH %%APACHDIR%%/pix/inall.png
61        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
62        -a PNG
63        -h 200 -w 800
64        --lazy
65        -s -1week
66        -v "Volts"
67        -t "All Power Supplies"
68        -l -15 -u 15 --rigid
69        -x HOUR:6:DAY:1:DAY:1:86400:'%a %b %d'
70        -y 1:5
71        DEF:i0=%%RRDDIR%%/sensors.rrd:in0:AVERAGE
72        DEF:i1=%%RRDDIR%%/sensors.rrd:in1:AVERAGE
73        DEF:i2=%%RRDDIR%%/sensors.rrd:in2:AVERAGE
74        DEF:i3=%%RRDDIR%%/sensors.rrd:in3:AVERAGE
75        DEF:i4=%%RRDDIR%%/sensors.rrd:in4:AVERAGE
76        DEF:i5=%%RRDDIR%%/sensors.rrd:in5:AVERAGE
77        DEF:i6=%%RRDDIR%%/sensors.rrd:in6:AVERAGE
78        CDEF:ii3=1.68,i3,*
79        CDEF:ii4=3.8,i4,*
80        CDEF:ii5=-3.48,i5,*
81        CDEF:ii6=-1.5,i6,*
82        LINE2:ii4#00FF00:"+12V"
83        LINE2:ii3#FF0000:"+5V"
84        LINE2:i2#FF8000:"+3.3V"
85        LINE2:i0#FF00FF:"Core 1"
86        LINE2:i1#00FFFF:"Core 2"
87        LINE2:ii6#FF0080:"-5V"
88        LINE2:ii5#0000FF:"-12V">
89</P>
90
91This page generated with data and scripts from
92<a href="http://www.lm-sensors.org/">the lm_sensors project</a>;
93the data are stored in a Round Robin Database and
94the graphs are generated by
95<a href="http://oss.oetiker.ch/rrdtool/">
96RRD</a>.
97
98</BODY>
99</HTML>
100
101
102
103
Note: See TracBrowser for help on using the browser.