]> git.zerfleddert.de Git - upsgraph/commitdiff
add Output Current
authorMichael Gernoth <michael@gernoth.net>
Tue, 9 Feb 2010 21:53:19 +0000 (22:53 +0100)
committerMichael Gernoth <michael@gernoth.net>
Tue, 9 Feb 2010 21:53:19 +0000 (22:53 +0100)
two-apc-units.conf

index 274b64b38bac6a30ca6c6454e7c274def4eceb70..1271405fa7837b85fb503ff171ce66d26578d5d1 100644 (file)
@@ -11,7 +11,7 @@ $hosts =
                'rrdfile' => "/var/spool/upsgraph/usv1.rrd",
                'community' => "public",
 
-               'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'ambT', 'ambH', 'timeR', 'timeO' ],
+               'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'outputC', 'ambT', 'ambH', 'timeR', 'timeO' ],
 
                'vars' => {
                        'inputV' => {
@@ -63,6 +63,14 @@ $hosts =
                                'min' => '0',
                                'max' => '110',
                        },
+                       'outputC' => {
+                               'name' => 'Output Current',
+                               'oidtext' => 'PowerNet-MIB::upsHighPrecOutputCurrent.0',
+                               'oid' => '1.3.6.1.4.1.318.1.1.1.4.3.4.0',
+                               'min' => 'U',
+                               'max' => 'U',
+                               'factor' => 1/10,
+                       },
                        'ambT' => {
                                'name' => 'Ambient Temperature',
                                'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
@@ -101,7 +109,7 @@ $hosts =
                'rrdfile' => "/var/spool/upsgraph/usv2.rrd",
                'community' => "public",
 
-               'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'timeR', 'timeO' ],
+               'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'outputC', 'timeR', 'timeO' ],
 
                'vars' => {
                        'inputV' => {
@@ -153,6 +161,14 @@ $hosts =
                                'min' => '0',
                                'max' => '110',
                        },
+                       'outputC' => {
+                               'name' => 'Output Current',
+                               'oidtext' => 'PowerNet-MIB::upsHighPrecOutputCurrent.0',
+                               'oid' => '1.3.6.1.4.1.318.1.1.1.4.3.4.0',
+                               'min' => 'U',
+                               'max' => 'U',
+                               'factor' => 1/10,
+                       },
                        'timeR' => {
                                'name' => 'Time Remaining',
                                'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
Impressum, Datenschutz