From: Michael Gernoth Date: Mon, 8 Feb 2010 12:08:58 +0000 (+0100) Subject: config for AP9619 (integrated environmental monitoring) X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/916b899905b553d1c4f12b9593ce0818633801b7?hp=a2c7237ff8d30944dd1ca8f605c2d2d85ef01dfc config for AP9619 (integrated environmental monitoring) --- diff --git a/apc-with-iem.conf b/apc-with-iem.conf new file mode 100644 index 0000000..94ddc26 --- /dev/null +++ b/apc-with-iem.conf @@ -0,0 +1,93 @@ +package UPSGRAPH; + +$host="10.50.252.253"; +$rrdfile="/var/www/usv/.work/ups.rrd"; +$outdir="/var/www/usv/"; +$community="public"; +$step=60; + +@fields = ( 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'ambT', 'ambH', 'timeR', 'timeO' ); + +$vars = { + 'inputV' => { + 'name' => 'Input Voltage', + 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0', + 'min' => '180', + 'max' => '280', + }, + 'outputV' => { + 'name' => 'Output Voltage', + 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0', + 'min' => '180', + 'max' => '280', + }, + 'inputHZ' => { + 'name' => 'Input Frequency', + 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0', + 'min' => '40', + 'max' => '60', + }, + 'outputHZ' => { + 'name' => 'Output Frequency', + 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0', + 'min' => '40', + 'max' => '60', + }, + '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', + }, + 'battC' => { + 'name' => 'Battery Capacity', + 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0', + 'min' => '0', + 'max' => '110', + }, + 'load' => { + 'name' => 'UPS Load', + 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0', + 'min' => '0', + 'max' => '110', + }, + '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', + }, + 'timeR' => { + 'name' => 'Time Remaining', + 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0', + 'factor' => 1/6000, + 'min' => '0', + 'max' => '360', + }, + 'timeO' => { + 'name' => 'Time On Battery', + 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0', + 'factor' => 1/6000, + 'min' => '0', + 'max' => '360', + }, +}; + +1;