From: Benjamin Oechslein Date: Fri, 9 Jan 2015 23:13:18 +0000 (+0100) Subject: Conf file showing configurable graphs X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/defddc1cef68b3b0ab4c5a60a25bce505b14e3f6?ds=inline Conf file showing configurable graphs --- diff --git a/minmaxtest.conf b/minmaxtest.conf new file mode 100644 index 0000000..6587ebb --- /dev/null +++ b/minmaxtest.conf @@ -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;