From defddc1cef68b3b0ab4c5a60a25bce505b14e3f6 Mon Sep 17 00:00:00 2001 From: Benjamin Oechslein Date: Sat, 10 Jan 2015 00:13:18 +0100 Subject: [PATCH] Conf file showing configurable graphs --- minmaxtest.conf | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 minmaxtest.conf 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; -- 2.39.5