summaryrefslogtreecommitdiff
path: root/examples/RRD/draw_graph_from_rrd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/RRD/draw_graph_from_rrd')
-rwxr-xr-xexamples/RRD/draw_graph_from_rrd5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/RRD/draw_graph_from_rrd b/examples/RRD/draw_graph_from_rrd
new file mode 100755
index 0000000..64cba57
--- /dev/null
+++ b/examples/RRD/draw_graph_from_rrd
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rrdtool graph graph.png -a PNG \
+ DEF:temp=cleware_data.rrd:temperature:AVERAGE \
+ LINE1:temp#FF0000:"temperatures"