X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/db4ecf18a46fe8cf9a1f532cde77c22ab2152d57..0d627df92167c3a34339140fe3570a90dd51bebe:/temperature.conf diff --git a/temperature.conf b/temperature.conf index 6aac5cb..c7e0ad4 100644 --- a/temperature.conf +++ b/temperature.conf @@ -17,22 +17,22 @@ $hosts = [ 'name' => 'Battery Temperature', 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0', 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0', - 'min' => '0', - 'max' => '100', + 'min' => 'U', + 'max' => 'U', }, 'ambT' => { 'name' => 'Ambient Temperature', 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1', 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1', - 'min' => '0', - 'max' => '60', + 'min' => 'U', + 'max' => 'U', }, 'ambH' => { 'name' => 'Ambient Humidity', 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1', 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1', - 'min' => '0', - 'max' => '100', + 'min' => 'U', + 'max' => 'U', }, }, }, @@ -49,8 +49,8 @@ $hosts = [ 'name' => 'Battery Temperature', 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0', 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0', - 'min' => '0', - 'max' => '100', + 'min' => 'U', + 'max' => 'U', }, } }, @@ -65,9 +65,9 @@ $hosts = [ 'vars' => { 'temp' => { 'name' => 'Internal Temperature', - 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3', - 'min' => '0', - 'max' => '200', + 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3.1004', + 'min' => 'U', + 'max' => 'U', }, } }, @@ -82,9 +82,26 @@ $hosts = [ 'vars' => { 'temp' => { 'name' => 'Internal Temperature', - 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3', - 'min' => '0', - 'max' => '200', + 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3.1004', + 'min' => 'U', + 'max' => 'U', + }, + } + }, + { + 'address' => "217.173.147.33", + 'name' => "effrafax", + 'rrdfile' => "/var/spool/upsgraph/temp.effrafax.rrd", + + 'fields' => [ 'az' ], + + 'vars' => { + 'az' => { + 'name' => 'Arbeitszimmer', + 'port' => '31337', + 'proto' => 'tcp', + 'min' => 'U', + 'max' => 'U', }, } },