--- /dev/null
+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;