3 $outdir="/var/www/usv/";
9 'address' => "192.168.34.253",
11 'rrdfile' => "/var/www/usv/.work/ups.rrd",
12 'community' => "public",
14 'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'battA', 'load', 'upsT', 'timeR', 'timeO' ],
18 'name' => 'Input Voltage',
19 'oidtext' => 'XPPC-MIB::upsSmartInputLineVoltage.0',
20 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.1.0',
26 'name' => 'Input Voltage (max)',
27 'oidtext' => 'XPPC-MIB::upsSmartInputMaxLineVoltage.0',
28 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.2.0',
34 'name' => 'Input Voltage (min)',
35 'oidtext' => 'XPPC-MIB::upsSmartInputMinLineVoltage.0',
36 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.3.0',
42 'name' => 'Input Frequency',
43 'oidtext' => 'XPPC-MIB::upsSmartInputFrequency.0',
44 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.4.0',
50 'name' => 'Output Voltage',
51 'oidtext' => 'XPPC-MIB::upsSmartOutputVoltage.0',
52 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.1.0',
58 'name' => 'Output Frequency',
59 'oidtext' => 'XPPC-MIB::upsSmartOutputFrequency.0',
60 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.2.0',
66 'name' => 'Battery Capacity',
67 'oidtext' => 'XPPC-MIB::upsSmartBatteryCapacity.0',
68 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.1.0',
73 'name' => 'Battery Voltage',
74 'oidtext' => 'XPPC-MIB::upsSmartBatteryVoltage.0',
75 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.2.0',
81 'name' => 'Battery Current',
82 'oidtext' => 'XPPC-MIB::upsSmartBatteryCurrent.0',
83 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.7.0',
90 'oidtext' => 'XPPC-MIB::upsSmartOutputLoad.0',
91 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.3.0',
96 'name' => 'UPS Temperature',
97 'oidtext' => 'XPPC-MIB::upsSmartBatteryTemperature.0',
98 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.3.0',
104 'name' => 'Time Remaining',
105 'oidtext' => 'XPPC-MIB::upsSmartBatteryRunTimeRemaining.0',
106 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.4.0',
112 'name' => 'Time On Battery',
113 'oidtext' => 'XPPC-MIB::upsBaseBatteryTimeOnBattery.0',
114 'oid' => '1.3.6.1.4.1.935.1.1.1.2.1.2.0',