From: Michael Gernoth Date: Tue, 9 Feb 2010 21:53:19 +0000 (+0100) Subject: add Output Current X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/57bdbffb9078eb78fd1074012383e4e04fe1810c add Output Current --- diff --git a/two-apc-units.conf b/two-apc-units.conf index 274b64b..1271405 100644 --- a/two-apc-units.conf +++ b/two-apc-units.conf @@ -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',