]> git.zerfleddert.de Git - upsgraph/commitdiff
more temperature sensors
authorMichael Gernoth <michael@gernoth.net>
Mon, 8 Feb 2010 22:15:36 +0000 (23:15 +0100)
committerMichael Gernoth <michael@gernoth.net>
Mon, 8 Feb 2010 22:15:36 +0000 (23:15 +0100)
temperature.conf
two-apc-units.conf

index 168a77957ec4061d020f57fdd0261056a39a196c..6aac5cbc9f7d8f54d22c3b60ffadfb406eae6dc9 100644 (file)
@@ -8,9 +8,9 @@ $hosts = [
                'address' => "10.50.252.253",
                'name' => "usv1",
                'community' => "public",
                'address' => "10.50.252.253",
                'name' => "usv1",
                'community' => "public",
-               'rrdfile' => "/var/www/temperature/.work/temp.rrd",
+               'rrdfile' => "/var/spool/upsgraph/temp.usv1.rrd",
        
        
-               'fields' => [ 'battT' ],
+               'fields' => [ 'battT', 'ambT', 'ambH' ],
        
                'vars' => {
                        'battT' => {
        
                'vars' => {
                        'battT' => {
@@ -20,8 +20,74 @@ $hosts = [
                                'min' => '0',
                                'max' => '100',
                        },
                                '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',
+                       },
                },
                },
-       }
+       },
+       {
+               'address' => "10.50.252.254",
+               'name' => "usv2",
+               'rrdfile' => "/var/spool/upsgraph/temp.usv2.rrd",
+               'community' => "public",
+
+               'fields' => [ 'battT' ],
+
+               'vars' => {
+                       'battT' => {
+                               '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',
+                       },
+               }
+       },
+       {
+               'address' => "192.168.50.245",
+               'name' => "prak",
+               'rrdfile' => "/var/spool/upsgraph/temp.prak.rrd",
+               'community' => "public",
+
+               'fields' => [ 'temp' ],
+
+               'vars' => {
+                       'temp' => {
+                               'name' => 'Internal Temperature',
+                               'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3',
+                               'min' => '0',
+                               'max' => '200',
+                       },
+               }
+       },
+       {
+               'address' => "192.168.50.244",
+               'name' => "colin",
+               'rrdfile' => "/var/spool/upsgraph/temp.colin.rrd",
+               'community' => "public",
+
+               'fields' => [ 'temp' ],
+
+               'vars' => {
+                       'temp' => {
+                               'name' => 'Internal Temperature',
+                               'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3',
+                               'min' => '0',
+                               'max' => '200',
+                       },
+               }
+       },
 ];
 
 1;
 ];
 
 1;
index 50b0132d036dd21082359c6f4496784b198b7979..274b64b38bac6a30ca6c6454e7c274def4eceb70 100644 (file)
@@ -1,6 +1,6 @@
 package UPSGRAPH;
 
 package UPSGRAPH;
 
-$outdir="/var/www/usv/1/";
+$outdir="/var/www/usv/";
 $step=60;
 
 $hosts =
 $step=60;
 
 $hosts =
Impressum, Datenschutz