]> git.zerfleddert.de Git - upsgraph/commitdiff
Conf file showing configurable graphs
authorBenjamin Oechslein <oechslein@informatik.uni-erlangen.de>
Fri, 9 Jan 2015 23:13:18 +0000 (00:13 +0100)
committerBenjamin Oechslein <benjamin.oechslein@informatik.uni-erlangen.de>
Fri, 9 Jan 2015 23:14:56 +0000 (00:14 +0100)
minmaxtest.conf [new file with mode: 0644]

diff --git a/minmaxtest.conf b/minmaxtest.conf
new file mode 100644 (file)
index 0000000..6587ebb
--- /dev/null
@@ -0,0 +1,63 @@
+package UPSGRAPH;
+
+$outdir="/var/www/temptest";
+$step=60;
+
+$hosts = [
+       {
+               'address' => "faui40d.informatik.uni-erlangen.de",
+               'name' => "I4",
+               'rrdfile' => "/var/www/temptest/temp.faui40d.rrd",
+       
+               'fields' => [ '0050' ],
+       
+               'vars' => {
+                       '0050' => {
+                               'name' => 'Raum 0.050',
+                               'port' => '1337',
+                               'proto' => 'tcp',
+                               'graph' => {
+                                       'year' => [ 'avg', 'day-max', 'day-min' ],
+                               },
+                       },
+               }
+       },
+       {
+               'address' => "faui43g.informatik.uni-erlangen.de",
+               'name' => "I4",
+               'rrdfile' => "/var/www/temptest/temp.faui43g.rrd",
+       
+               'fields' => [ '0054' ],
+       
+               'vars' => {
+                       '0054' => {
+                               'name' => 'Raum 0.054',
+                               'port' => '31337',
+                               'proto' => 'tcp',
+                       },
+               }
+       },
+       {
+               'address' => "phony.informatik.uni-erlangen.de",
+               'name' => "I4",
+               'rrdfile' => "/var/www/temptest/temp.phony.rrd",
+       
+               'fields' => [ 'aussen' ],
+       
+               'vars' => {
+                       'aussen' => {
+                               'name' => 'Außentemperatur',
+                               'port' => '31338',
+                               'proto' => 'tcp',
+                               'max' => '40',
+                               'graph' => {
+                                       'day' =>  [ 'avg' ],
+                                       'week' => [ 'avg', 'day-max', 'day-min' ],
+                                       'year' => [ 'day-max', 'day-min' ],
+                               },
+                       },
+               }
+       },
+];
+
+1;
Impressum, Datenschutz