3 $outdir="/var/www/usv/1/";
9 'address' => "10.50.252.253",
11 'rrdfile' => "/var/spool/upsgraph/usv1.rrd",
12 'community' => "public",
14 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'ambT', 'ambH', 'timeR', 'timeO' ],
18 'name' => 'Input Voltage',
19 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
20 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
25 'name' => 'Output Voltage',
26 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
27 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
32 'name' => 'Input Frequency',
33 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
34 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
39 'name' => 'Output Frequency',
40 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
41 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
46 'name' => 'Battery Temperature',
47 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
48 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
53 'name' => 'Battery Capacity',
54 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
55 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
61 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
62 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
67 'name' => 'Ambient Temperature',
68 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
69 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
74 'name' => 'Ambient Humidity',
75 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
76 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
81 'name' => 'Time Remaining',
82 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
83 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
89 'name' => 'Time On Battery',
90 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
91 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
99 'address' => "10.50.252.254",
101 'rrdfile' => "/var/spool/upsgraph/usv2.rrd",
102 'community' => "public",
104 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'timeR', 'timeO' ],
108 'name' => 'Input Voltage',
109 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
110 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
115 'name' => 'Output Voltage',
116 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
117 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
122 'name' => 'Input Frequency',
123 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
124 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
129 'name' => 'Output Frequency',
130 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
131 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
136 'name' => 'Battery Temperature',
137 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
138 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
143 'name' => 'Battery Capacity',
144 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
145 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
150 'name' => 'UPS Load',
151 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
152 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
157 'name' => 'Time Remaining',
158 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
159 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
165 'name' => 'Time On Battery',
166 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
167 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',