]>
Commit | Line | Data |
---|---|---|
1 | package UPSGRAPH; | |
2 | ||
3 | $outdir="/var/www/html/temperature/"; | |
4 | $step=60; | |
5 | ||
6 | $hosts = [ | |
7 | { | |
8 | 'address' => "10.133.0.9", | |
9 | 'name' => "al13-og", | |
10 | 'rrdfile' => "/var/spool/upsgraph/temp.al13-og.rrd", | |
11 | ||
12 | 'fields' => [ 'TD2501', 'Klima' ], | |
13 | ||
14 | 'vars' => { | |
15 | 'TD2501' => { | |
16 | 'name' => 'P1-TD2501 - Raumtemperatur Serverraum OG', | |
17 | 'adr' => 'iolinkmaster/port[1]/iolinkdevice/pdin/getdata', | |
18 | 'proto' => 'iotcore', | |
19 | 'factor' => 1/10, | |
20 | 'mask' => 0xffff, | |
21 | }, | |
22 | 'Klima' => { | |
23 | 'name' => 'P2-TR7432 - Auslasstemperatur Klimaanlage OG', | |
24 | 'adr' => 'iolinkmaster/port[2]/iolinkdevice/pdin/getdata', | |
25 | 'proto' => 'iotcore', | |
26 | 'factor' => 1/40, | |
27 | 'mask' => 0xfffc, | |
28 | }, | |
29 | } | |
30 | }, | |
31 | ]; | |
32 | ||
33 | 1; |