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', 'load', 'ambT', 'timeR' ],
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',
82 'oidtext' => 'XPPC-MIB::upsSmartOutputLoad.0',
83 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.3.0',
88 'name' => 'Ambient Temperature',
89 'oidtext' => 'XPPC-MIB::upsSmartBatteryTemperature.0',
90 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.3.0',
96 'name' => 'Time Remaining',
97 'oidtext' => 'XPPC-MIB::upsSmartBatteryRunTimeRemaining.0',
98 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.4.0',