~mmach/netext73/lm-sensors

« back to all changes in this revision

Viewing changes to prog/rrd/sens_day.in

  • Committer: mmach
  • Date: 2020-02-05 20:28:34 UTC
  • Revision ID: netbit73@gmail.com-20200205202834-zc3sla47j9e700w5
3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!%%RRDPATH%%/rrdcgi 
 
2
 
 
3
<HTML>
 
4
<HEAD>
 
5
<TITLE>One Day Hardware Statistics for %%MACH%%</TITLE>
 
6
</HEAD>
 
7
<BODY>
 
8
<H1>ONE DAY VIEW</H1>
 
9
See also: <br>
 
10
<a href="sens_week.cgi">One Week View</a> <br>
 
11
<a href="summ_week.cgi">One Week Summary View</a>
 
12
 
 
13
<H1>TEMPERATURES</H1>
 
14
 
 
15
 
 
16
<P><RRD::GRAPH %%APACHDIR%%/pix/temp1d.png
 
17
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
18
        -a PNG
 
19
        -h 200 -w 800
 
20
        --lazy
 
21
        -s -1days
 
22
        -v "Temperature (degrees C)"
 
23
        -t "Motherboard temperature"
 
24
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
25
        -y 1:5
 
26
        DEF:temp=%%RRDDIR%%/sensors.rrd:temp1:AVERAGE
 
27
        LINE2:temp#FF00FF>
 
28
</P>
 
29
 
 
30
<P><RRD::GRAPH %%APACHDIR%%/pix/temp2d.png
 
31
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
32
        -a PNG
 
33
        -h 200 -w 800
 
34
        --lazy
 
35
        -s -1days
 
36
        -v "Temperature (degrees C)"
 
37
        -t "CPU 1 temperature"
 
38
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
39
        -y 1:5
 
40
        DEF:temp=%%RRDDIR%%/sensors.rrd:temp2:AVERAGE
 
41
        LINE2:temp#FF00FF>
 
42
</P>
 
43
 
 
44
<P><RRD::GRAPH %%APACHDIR%%/pix/temp3d.png
 
45
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
46
        -a PNG
 
47
        -h 200 -w 800
 
48
        --lazy
 
49
        -s -1days
 
50
        -v "Temperature (degrees C)"
 
51
        -t "CPU 2 temperature"
 
52
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
53
        -y 1:5
 
54
        DEF:temp=%%RRDDIR%%/sensors.rrd:temp3:AVERAGE
 
55
        LINE2:temp#FF00FF>
 
56
</P>
 
57
 
 
58
<H1>FANS</H1>
 
59
 
 
60
<P><RRD::GRAPH %%APACHDIR%%/pix/fan1d.png
 
61
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
62
        -a PNG
 
63
        -h 200 -w 800
 
64
        --lazy
 
65
        -s -1days
 
66
        -v "Fan speed (RPM)"
 
67
        -t "Fan 1 speed"
 
68
        -u 5000
 
69
        --units-exponent 0
 
70
        --alt-autoscale
 
71
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
72
        DEF:temp=%%RRDDIR%%/sensors.rrd:fan1:AVERAGE
 
73
        LINE2:temp#FF00FF>
 
74
</P>
 
75
 
 
76
<P><RRD::GRAPH %%APACHDIR%%/pix/fan2d.png
 
77
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
78
        -a PNG
 
79
        -h 200 -w 800
 
80
        --lazy
 
81
        -s -1days
 
82
        -v "Fan speed (RPM)"
 
83
        -t "Fan 2 speed"
 
84
        -u 5000
 
85
        --units-exponent 0
 
86
        --alt-autoscale
 
87
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
88
        DEF:temp=%%RRDDIR%%/sensors.rrd:fan2:AVERAGE
 
89
        LINE2:temp#FF00FF>
 
90
</P>
 
91
 
 
92
<P><RRD::GRAPH %%APACHDIR%%/pix/fan3d.png
 
93
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
94
        -a PNG
 
95
        -h 200 -w 800
 
96
        --lazy
 
97
        -s -1days
 
98
        -v "Fan speed (RPM)"
 
99
        -t "Fan 3 speed"
 
100
        -u 5000
 
101
        --units-exponent 0
 
102
        --alt-autoscale
 
103
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
104
        DEF:temp=%%RRDDIR%%/sensors.rrd:fan3:AVERAGE
 
105
        LINE2:temp#FF00FF>
 
106
</P>
 
107
 
 
108
<H1>POWER SUPPLIES</H1>
 
109
 
 
110
<P><RRD::GRAPH %%APACHDIR%%/pix/in0d.png
 
111
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
112
        -a PNG
 
113
        -h 200 -w 800
 
114
        --lazy
 
115
        -s -1days
 
116
        -v "Volts"
 
117
        -t "Core 1 Voltage"
 
118
        -l 1 -u 3 --rigid
 
119
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
120
        -y 0.2:1
 
121
        DEF:temp=%%RRDDIR%%/sensors.rrd:in0:AVERAGE
 
122
        LINE2:temp#FF00FF>
 
123
</P>
 
124
 
 
125
<P><RRD::GRAPH %%APACHDIR%%/pix/in1d.png
 
126
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
127
        -a PNG
 
128
        -h 200 -w 800
 
129
        --lazy
 
130
        -s -1days
 
131
        -v "Volts"
 
132
        -t "Core 2 Voltage"
 
133
        -l 1 -u 3 --rigid
 
134
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
135
        -y 0.2:1
 
136
        DEF:temp=%%RRDDIR%%/sensors.rrd:in1:AVERAGE
 
137
        LINE2:temp#FF00FF>
 
138
</P>
 
139
 
 
140
<P><RRD::GRAPH %%APACHDIR%%/pix/in2d.png
 
141
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
142
        -a PNG
 
143
        -h 200 -w 800
 
144
        --lazy
 
145
        -s -1days
 
146
        -v "Volts"
 
147
        -t "+3.3 Volt Supply"
 
148
        -l 2 -u 4 --rigid
 
149
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
150
        -y 0.2:1
 
151
        DEF:temp=%%RRDDIR%%/sensors.rrd:in2:AVERAGE
 
152
        LINE2:temp#FF00FF>
 
153
</P>
 
154
 
 
155
<P><RRD::GRAPH %%APACHDIR%%/pix/in3d.png
 
156
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
157
        -a PNG
 
158
        -h 200 -w 800
 
159
        --lazy
 
160
        -s -1days
 
161
        -v "Volts"
 
162
        -t "+5 Volt Supply"
 
163
        -l 4 -u 6 --rigid
 
164
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
165
        -y 0.2:1
 
166
        DEF:x=%%RRDDIR%%/sensors.rrd:in3:AVERAGE
 
167
        CDEF:temp=1.68,x,*
 
168
        LINE2:temp#FF00FF>
 
169
</P>
 
170
 
 
171
<P><RRD::GRAPH %%APACHDIR%%/pix/in4d.png
 
172
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
173
        -a PNG
 
174
        -h 200 -w 800
 
175
        --lazy
 
176
        -s -1days
 
177
        -v "Volts"
 
178
        -t "+12 Volt Supply"
 
179
        -l 10 -u 14
 
180
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
181
        -y 0.5:1
 
182
        DEF:x=%%RRDDIR%%/sensors.rrd:in4:AVERAGE
 
183
        CDEF:temp=3.8,x,*
 
184
        LINE2:temp#FF00FF>
 
185
</P>
 
186
 
 
187
<P><RRD::GRAPH %%APACHDIR%%/pix/in5d.png
 
188
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
189
        -a PNG
 
190
        -h 200 -w 800
 
191
        --lazy
 
192
        -s -1days
 
193
        -v "Volts"
 
194
        -t "-12 Volt Supply"
 
195
        -l -14 -u -10
 
196
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
197
        -y 0.5:1
 
198
        DEF:x=%%RRDDIR%%/sensors.rrd:in5:AVERAGE
 
199
        CDEF:temp=-3.48,x,*
 
200
        LINE2:temp#FF00FF>
 
201
</P>
 
202
 
 
203
<P><RRD::GRAPH %%APACHDIR%%/pix/in6d.png
 
204
        --imginfo '<IMG SRC=pix/%s WIDTH=%lu HEIGHT=%lu >'
 
205
        -a PNG
 
206
        -h 200 -w 800
 
207
        --lazy
 
208
        -s -1days
 
209
        -v "Volts"
 
210
        -t "-5 Volt Supply"
 
211
        -l -6 -u -4 --rigid
 
212
        -x HOUR:1:HOUR:3:HOUR:3:0:'%b %d %H:00'
 
213
        -y 0.2:1
 
214
        DEF:x=%%RRDDIR%%/sensors.rrd:in6:AVERAGE
 
215
        CDEF:temp=-1.5,x,*
 
216
        LINE2:temp#FF00FF>
 
217
</P>
 
218
 
 
219
This page generated with data and scripts from
 
220
<a href="https://hwmon.wiki.kernel.org/lm_sensors">the lm_sensors project</a>;
 
221
the data are stored in a Round Robin Database and
 
222
the graphs are generated by
 
223
<a href="http://oss.oetiker.ch/rrdtool/">
 
224
RRD</a>.
 
225
 
 
226
</BODY>
 
227
</HTML>
 
228
 
 
229
 
 
230
 
 
231