package UPSGRAPH; $outdir="/var/www/html/temperature/"; $step=60; $hosts = [ { 'address' => "10.133.0.9", 'name' => "al13-og", 'rrdfile' => "/var/spool/upsgraph/temp.al13-og.rrd", 'fields' => [ 'TD2501', 'Klima' ], 'vars' => { 'TD2501' => { 'name' => 'P1-TD2501 - Raumtemperatur Serverraum OG', 'adr' => 'iolinkmaster/port[1]/iolinkdevice/pdin/getdata', 'proto' => 'iotcore', 'factor' => 1/10, 'mask' => 0xffff, }, 'Klima' => { 'name' => 'P2-TR7432 - Auslasstemperatur Klimaanlage OG', 'adr' => 'iolinkmaster/port[2]/iolinkdevice/pdin/getdata', 'proto' => 'iotcore', 'factor' => 1/40, 'mask' => 0xfffc, }, } }, ]; 1;