4 $rrdfile="/var/www/usv/.work/ups.rrd";
5 $outdir="/var/www/usv/";
9 @fields = ( 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'timeR', 'timeO' );
13 'name' => 'Input Voltage',
14 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
15 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
20 'name' => 'Output Voltage',
21 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
22 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
27 'name' => 'Input Frequency',
28 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
29 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
34 'name' => 'Output Frequency',
35 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
36 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
41 'name' => 'Battery Temperature',
42 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
43 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
48 'name' => 'Battery Capacity',
49 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
50 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
56 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
57 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
62 'name' => 'Time Remaining',
63 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
64 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
70 'name' => 'Time On Battery',
71 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
72 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',