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-avg', 'day-max', 'day-min' ], }, }, } }, ]; 1;