From ff676c3d5fb3d5128647639bbcc04ab6face7656 Mon Sep 17 00:00:00 2001 From: Benjamin Oechslein Date: Mon, 8 Dec 2014 23:52:27 +0100 Subject: [PATCH] Add test configuration using configurable graphs --- test.conf | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 test.conf diff --git a/test.conf b/test.conf new file mode 100644 index 0000000..c4e7955 --- /dev/null +++ b/test.conf @@ -0,0 +1,45 @@ +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; -- 2.39.2