Add test configuration using configurable graphs
authorBenjamin Oechslein <benjamin.oechslein@informatik.uni-erlangen.de>
Mon, 8 Dec 2014 22:52:27 +0000 (23:52 +0100)
committerBenjamin Oechslein <benjamin.oechslein@informatik.uni-erlangen.de>
Fri, 9 Jan 2015 21:36:16 +0000 (22:36 +0100)
test.conf [new file with mode: 0644]

diff --git a/test.conf b/test.conf
new file mode 100644 (file)
index 0000000..c4e7955
--- /dev/null
+++ b/test.conf
@@ -0,0 +1,45 @@
+package UPSGRAPH;
+
+$outdir="/home/benjamin/scratchpad/upsgraph/out/";
+$step=60;
+
+$hosts = [
+       {
+               'address' => "faui40d.informatik.uni-erlangen.de",
+               'name' => "I4",
+               'rrdfile' => "/home/benjamin/scratchpad/upsgraph/out/50.rrd",
+       
+               'fields' => [ '0050-raum' ],
+       
+               'vars' => {
+                       '0050-raum' => {
+                               'name' => 'Raum 0.050',
+                               'port' => '1337',
+                               'proto' => 'tcp',
+                       },
+               }
+       },
+       {
+               'address' => "phony.informatik.uni-erlangen.de",
+               'name' => "I4",
+               'rrdfile' => "/home/benjamin/scratchpad/upsgraph/out/out.rrd",
+       
+               'fields' => [ 'out' ],
+       
+               'vars' => {
+                       'out' => {
+                               'name' => 'Au├čentemperatur',
+                               'port' => '31338',
+                               'proto' => 'tcp',
+                               'max' => '50',
+                               'graph' => {
+                                       'day' =>  [ 'avg' ],
+                                       'week' => [ 'avg', 'day-max', 'day-min' ],
+                                       'year' => [ 'day-max', 'day-min' ],
+                               },
+                       },
+               }
+       },
+];
+
+1;
Impressum, Datenschutz