add example for tr7432
[upsgraph] / two-apc-units.conf
CommitLineData
6c1071ee
MG
1package UPSGRAPH;
2
db4ecf18 3$outdir="/var/www/usv/";
6c1071ee
MG
4$step=60;
5
6$hosts =
7[
8 {
9 'address' => "10.50.252.253",
10 'name' => "usv1",
11 'rrdfile' => "/var/spool/upsgraph/usv1.rrd",
12 'community' => "public",
13
57bdbffb 14 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'outputC', 'ambT', 'ambH', 'timeR', 'timeO' ],
6c1071ee
MG
15
16 'vars' => {
17 'inputV' => {
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',
21 'min' => '180',
22 'max' => '280',
23 },
24 'outputV' => {
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',
28 'min' => '180',
29 'max' => '280',
30 },
31 'inputHZ' => {
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',
35 'min' => '40',
36 'max' => '60',
37 },
38 'outputHZ' => {
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',
42 'min' => '40',
43 'max' => '60',
44 },
45 'battT' => {
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',
49 'min' => '0',
50 'max' => '100',
51 },
52 'battC' => {
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',
56 'min' => '0',
57 'max' => '110',
58 },
59 'load' => {
60 'name' => 'UPS Load',
61 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
62 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
63 'min' => '0',
64 'max' => '110',
65 },
57bdbffb
MG
66 'outputC' => {
67 'name' => 'Output Current',
68 'oidtext' => 'PowerNet-MIB::upsHighPrecOutputCurrent.0',
69 'oid' => '1.3.6.1.4.1.318.1.1.1.4.3.4.0',
70 'min' => 'U',
71 'max' => 'U',
72 'factor' => 1/10,
73 },
6c1071ee
MG
74 'ambT' => {
75 'name' => 'Ambient Temperature',
76 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
77 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
78 'min' => '0',
79 'max' => '60',
80 },
81 'ambH' => {
82 'name' => 'Ambient Humidity',
83 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
84 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
85 'min' => '0',
86 'max' => '100',
87 },
88 'timeR' => {
89 'name' => 'Time Remaining',
90 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
91 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
92 'factor' => 1/6000,
93 'min' => '0',
94 'max' => '360',
95 },
96 'timeO' => {
97 'name' => 'Time On Battery',
98 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
99 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
100 'factor' => 1/6000,
101 'min' => '0',
102 'max' => '360',
103 },
104 },
105 },
106 {
107 'address' => "10.50.252.254",
108 'name' => "usv2",
109 'rrdfile' => "/var/spool/upsgraph/usv2.rrd",
110 'community' => "public",
111
57bdbffb 112 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'outputC', 'timeR', 'timeO' ],
6c1071ee
MG
113
114 'vars' => {
115 'inputV' => {
116 'name' => 'Input Voltage',
117 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
118 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
119 'min' => '180',
120 'max' => '280',
121 },
122 'outputV' => {
123 'name' => 'Output Voltage',
124 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
125 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
126 'min' => '180',
127 'max' => '280',
128 },
129 'inputHZ' => {
130 'name' => 'Input Frequency',
131 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
132 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
133 'min' => '40',
134 'max' => '60',
135 },
136 'outputHZ' => {
137 'name' => 'Output Frequency',
138 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
139 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
140 'min' => '40',
141 'max' => '60',
142 },
143 'battT' => {
144 'name' => 'Battery Temperature',
145 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
146 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
147 'min' => '0',
148 'max' => '100',
149 },
150 'battC' => {
151 'name' => 'Battery Capacity',
152 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
153 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
154 'min' => '0',
155 'max' => '110',
156 },
157 'load' => {
158 'name' => 'UPS Load',
159 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
160 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
161 'min' => '0',
162 'max' => '110',
163 },
57bdbffb
MG
164 'outputC' => {
165 'name' => 'Output Current',
166 'oidtext' => 'PowerNet-MIB::upsHighPrecOutputCurrent.0',
167 'oid' => '1.3.6.1.4.1.318.1.1.1.4.3.4.0',
168 'min' => 'U',
169 'max' => 'U',
170 'factor' => 1/10,
171 },
6c1071ee
MG
172 'timeR' => {
173 'name' => 'Time Remaining',
174 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
175 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
176 'factor' => 1/6000,
177 'min' => '0',
178 'max' => '360',
179 },
180 'timeO' => {
181 'name' => 'Time On Battery',
182 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
183 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
184 'factor' => 1/6000,
185 'min' => '0',
186 'max' => '360',
187 },
188 },
189 },
190];
191
1921;
Impressum, Datenschutz