add example for tr7432
[upsgraph] / i4-temperature.conf
1 package UPSGRAPH;
2
3 $outdir="/var/www/temperature/";
4 $step=60;
5
6 $hosts = [
7 {
8 'address' => "131.188.42.24",
9 'name' => "klimaschrank",
10 'rrdfile' => "/var/www/temperature/.work/klimaschrank.rrd",
11
12 'fields' => [ 'kaltw', 'vorlauf', 'ruecklauf', 'abluft', 'raum' ],
13
14 'vars' => {
15 'kaltw' => {
16 'name' => 'Kaltwasser',
17 'port' => '1337',
18 'proto' => 'tcp_multi',
19 'multi_id' => '6328',
20 'multi_delimiter' => " ",
21 },
22 'vorlauf' => {
23 'name' => 'Vorlauftemperatur',
24 'port' => '1337',
25 'proto' => 'tcp_multi',
26 'multi_id' => '2d28',
27 'multi_delimiter' => " ",
28 },
29 'ruecklauf' => {
30 'name' => 'Ruecklauftemperatur',
31 'port' => '1337',
32 'proto' => 'tcp_multi',
33 'multi_id' => '5228',
34 'multi_delimiter' => " ",
35 },
36 'abluft' => {
37 'name' => 'Ablufttemperatur',
38 'port' => '1337',
39 'proto' => 'tcp_multi',
40 'multi_id' => 'f528',
41 'multi_delimiter' => " ",
42 },
43 'raum' => {
44 'name' => 'Raumtemperatur',
45 'port' => '1337',
46 'proto' => 'tcp_multi',
47 'multi_id' => '9028',
48 'multi_delimiter' => " ",
49 },
50 }
51 },
52 {
53 'address' => "192.168.34.253",
54 'name' => "faui4usv",
55 'rrdfile' => "/var/www/temperature/.work/ups.rrd",
56 'community' => "public",
57
58 'fields' => [ 'battT', 'ambT', 'ambH' ],
59
60 'vars' => {
61 'battT' => {
62 'name' => 'Battery Temperature',
63 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
64 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
65 'min' => '0',
66 'max' => '100',
67 },
68 'ambT' => {
69 'name' => 'Ambient Temperature',
70 'oidtext' => 'PowerNet-MIB::mUpsEnvironAmbientTemperature.0',
71 'oid' => '1.3.6.1.4.1.318.1.1.2.1.1.0',
72 'min' => '0',
73 'max' => '60',
74 },
75 'ambH' => {
76 'name' => 'Ambient Humidity',
77 'oidtext' => 'PowerNet-MIB::mUpsEnvironRelativeHumidity.0',
78 'oid' => '1.3.6.1.4.1.318.1.1.2.1.2.0',
79 'min' => '0',
80 'max' => '100',
81 },
82 }
83 },
84 {
85 'address' => "131.188.34.37",
86 'name' => "0.057",
87 'rrdfile' => "/var/www/temperature/.work/0057.rrd",
88
89 'fields' => [ '0057-raum' ],
90
91 'vars' => {
92 '0057-raum' => {
93 'name' => 'I4 Serverraum 0.057 Raumtemperatur',
94 'port' => '1337',
95 'proto' => 'tcp',
96 },
97 }
98 },
99 ];
100
101 1;
Impressum, Datenschutz