add example for tr7432
[upsgraph] / temperature.conf
index 6aac5cbc9f7d8f54d22c3b60ffadfb406eae6dc9..919507b5c54d6b48446d40950c7f3f0a1075e94b 100644 (file)
@@ -17,22 +17,16 @@ $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',
                        },
                        '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',
                        },
                        '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',
                        },
                },
        },
@@ -49,8 +43,6 @@ $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',
                        },
                }
        },
@@ -65,9 +57,7 @@ $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',
                        },
                }
        },
@@ -82,9 +72,22 @@ $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',
+                       },
+               }
+       },
+       {
+               'address' => "217.173.147.33",
+               'name' => "effrafax",
+               'rrdfile' => "/var/spool/upsgraph/temp.effrafax.rrd",
+
+               'fields' => [ 'az' ],
+
+               'vars' => {
+                       'az' => {
+                               'name' => 'Arbeitszimmer',
+                               'port' => '31337',
+                               'proto' => 'tcp',
                        },
                }
        },
Impressum, Datenschutz