Code

new gallery entry added
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 19 May 2005 22:38:38 +0000 (22:38 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 19 May 2005 22:38:38 +0000 (22:38 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@582 a5681a0c-68f1-0310-ab6d-d61299d08faa

website/gallery/CPU__Load.xml [new file with mode: 0644]
website/gallery/CPU__Trend.png [new file with mode: 0644]
website/gallery/index.wml

diff --git a/website/gallery/CPU__Load.xml b/website/gallery/CPU__Load.xml
new file mode 100644 (file)
index 0000000..8fbab0d
--- /dev/null
@@ -0,0 +1,59 @@
+<gallery image="CPU__Trend.png" > <!-- no wider than 600 pixle -->
+      <title> CPU Load drawed with drraw.cgi </title>
+     <author> Christoph Baumann </author> 
+<description> 
+Created with drraw from Christophe Kalt (See RRDtool Companions)
+Changing Colors and using the new Trend Funkion
+</description>
+       <year> 2005 </year><month> 5 </month> <!-- creation date -->
+      <email> christoph.baumann@coop.ch </email>
+</gallery>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+rrdtool graph - \
+ --start=end-86400 \
+ --lower-limit=0 \
+ --title=CPULoad mit Trend \
+ --imgformat=PNG \
+ --width=800 \
+ --base=1000 \
+ --height=240 \
+ --interlaced \
+ DEF:a=/daten/bmc/rrd3//svrpfa003/CPU/CPU/CPULoad.rrd:CPULoad:MAX \
+ CDEF:C=a,5,LT,a,UNKN,IF \
+ CDEF:D=a,86400,TREND \
+ AREA:a#FF0000:CPU__Load \
+ GPRINT:a:MIN:Min\: %8.2lf%s \
+ GPRINT:a:AVERAGE:Avg\: %8.2lf%s \
+ GPRINT:a:MAX:Max\: %8.2lf%s \
+ GPRINT:a:LAST:Last\: %8.2lf%s\n \
+ AREA:C#00FF00: \
+ LINE1:D#0000FF:DAYtrend  \
+ GPRINT:D:MIN:Min\: %8.2lf%s \
+ GPRINT:D:AVERAGE:Avg\: %8.2lf%s \
+ GPRINT:D:MAX:Max\: %8.2lf%s \
+ GPRINT:D:LAST:Last\: %8.2lf%s\n
diff --git a/website/gallery/CPU__Trend.png b/website/gallery/CPU__Trend.png
new file mode 100644 (file)
index 0000000..ef47348
Binary files /dev/null and b/website/gallery/CPU__Trend.png differ
index 6dcbe0056d5f2e51104d6d081a0828ccb9c28752..cf0d484ca0dbc6955a0ae271acae14e835277168 100644 (file)
@@ -4,6 +4,7 @@
 
 <H1>RRDtool Gallery</H1>
 
+#include "CPU__Load.xml"
 #include "flux.xml"
 #include "spamd_rrdgraph.xml"
 #include "uw-hep-condor.xml"