]> git.zerfleddert.de Git - upsgraph/blob - test.conf
Add test configuration using configurable graphs
[upsgraph] / test.conf
1 package UPSGRAPH;
2
3 $outdir="/home/benjamin/scratchpad/upsgraph/out/";
4 $step=60;
5
6 $hosts = [
7 {
8 'address' => "faui40d.informatik.uni-erlangen.de",
9 'name' => "I4",
10 'rrdfile' => "/home/benjamin/scratchpad/upsgraph/out/50.rrd",
11
12 'fields' => [ '0050-raum' ],
13
14 'vars' => {
15 '0050-raum' => {
16 'name' => 'Raum 0.050',
17 'port' => '1337',
18 'proto' => 'tcp',
19 },
20 }
21 },
22 {
23 'address' => "phony.informatik.uni-erlangen.de",
24 'name' => "I4",
25 'rrdfile' => "/home/benjamin/scratchpad/upsgraph/out/out.rrd",
26
27 'fields' => [ 'out' ],
28
29 'vars' => {
30 'out' => {
31 'name' => 'Außentemperatur',
32 'port' => '31338',
33 'proto' => 'tcp',
34 'max' => '50',
35 'graph' => {
36 'day' => [ 'avg' ],
37 'week' => [ 'avg', 'day-max', 'day-min' ],
38 'year' => [ 'day-max', 'day-min' ],
39 },
40 },
41 }
42 },
43 ];
44
45 1;
Impressum, Datenschutz