X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/13f8524ee8b2eae18413aee4f147a00a09e5f26a..fd198fcdfda36da547af84d57ab456faf16a0dd0:/megatec-netagent.conf diff --git a/megatec-netagent.conf b/megatec-netagent.conf index 54db3ac..d67c353 100644 --- a/megatec-netagent.conf +++ b/megatec-netagent.conf @@ -11,7 +11,7 @@ $hosts = 'rrdfile' => "/var/www/usv/.work/ups.rrd", 'community' => "public", - 'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'load', 'ambT', 'timeR' ], + 'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'battA', 'load', 'upsT', 'timeR', 'timeO' ], 'vars' => { 'inputV' => { @@ -77,6 +77,14 @@ $hosts = 'max' => '3', 'factor' => 1/10, }, + 'battA' => { + 'name' => 'Battery Current', + 'oidtext' => 'XPPC-MIB::upsSmartBatteryCurrent.0', + 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.7.0', + 'min' => '0', + 'max' => '30', + 'factor' => 1/10, + }, 'load' => { 'name' => 'UPS Load', 'oidtext' => 'XPPC-MIB::upsSmartOutputLoad.0', @@ -84,8 +92,8 @@ $hosts = 'min' => '0', 'max' => '110', }, - 'ambT' => { - 'name' => 'Ambient Temperature', + 'upsT' => { + 'name' => 'UPS Temperature', 'oidtext' => 'XPPC-MIB::upsSmartBatteryTemperature.0', 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.3.0', 'min' => '0', @@ -100,6 +108,14 @@ $hosts = 'min' => '0', 'max' => '360', }, + 'timeO' => { + 'name' => 'Time On Battery', + 'oidtext' => 'XPPC-MIB::upsBaseBatteryTimeOnBattery.0', + 'oid' => '1.3.6.1.4.1.935.1.1.1.2.1.2.0', + 'factor' => 1/60, + 'min' => '0', + 'max' => '360', + }, }, }, ];