-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzabbix_template_UPS_netAgent.xml
494 lines (494 loc) · 21 KB
/
zabbix_template_UPS_netAgent.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2019-02-21T10:20:59Z</date>
<groups>
<group>
<name>Templates</name>
</group>
<group>
<name>UPS</name>
</group>
</groups>
<templates>
<template>
<template>Template NetAgent UPS</template>
<name>Template NetAgent UPS</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
<group>
<name>UPS</name>
</group>
</groups>
<applications>
<application>
<name>Inventory Data</name>
</application>
<application>
<name>Operational</name>
</application>
</applications>
<items>
<item>
<name>UPS battery capacity (%)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.2.1.0</snmp_oid>
<key>upsSmartBatteryCapacity</key>
<value_type>FLOAT</value_type>
<units>%</units>
<description>The remaining battery capacity expressed in
percent of full capacity.
Оставшаяся емкость аккумулятора выражена в
процентов от полной емкости.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
</item>
<item>
<name>UPS battery last replace date</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.1.3.0</snmp_oid>
<key>upsBaseLBatteryLastReplaceDate</key>
<delay>40320s</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<description>The date when the UPS system's batteries were last replaced
in mm/dd/yy format. For UPS models, this value is originally
set in the factory. When the UPS batteries are replaced,
this value should be reset by the administrator
Дата последней замены батарей системы ИБП
в формате мм / дд / гг. Это значение изначально установлено на заводе. Когда батареи ИБП заменены, это значение должно быть сброшено администратором</description>
<applications>
<application>
<name>Inventory Data</name>
</application>
</applications>
</item>
<item>
<name>UPS battery replace indicator</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.2.5.0</snmp_oid>
<key>upsSmartBatteryReplaceIndicator</key>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last(,5m)}>1</expression>
<name>UPS NetAgent - batteries need replacing</name>
<priority>HIGH</priority>
<description>Batteries need replacing</description>
</trigger>
</triggers>
</item>
<item>
<name>UPS battery status</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.1.1.0</snmp_oid>
<key>upsBaseBatteryStatus</key>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<valuemap>
<name>apcBatteryStatus</name>
</valuemap>
<triggers>
<trigger>
<expression>{last(,5m)}=3</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(,15m)}=2</recovery_expression>
<name>UPS NetAgent - Remaining battery is low</name>
<priority>HIGH</priority>
<description>Battery is low for >5m</description>
</trigger>
<trigger>
<expression>{last(,30m)}=1 or {last(,30m)}=4</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(,30m)}=2</recovery_expression>
<name>UPS NetAgent - Batteries are unable to sustain the present load or are degraded</name>
<priority>DISASTER</priority>
</trigger>
</triggers>
</item>
<item>
<name>UPS battery temperature</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.2.3.0</snmp_oid>
<key>upsSmartBatteryTemperature</key>
<units>°C</units>
<description>The current internal UPS temperature expressed in tenths of
a Celsius degree.
Текущая внутренняя температура ИБП, выраженная в десятых долях
градус Цельсия.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last(,5m)}>=60</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(,10m)}<55</recovery_expression>
<name>UPS NetAgent - Battery Temperature too high</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>UPS Firmware Revision</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.1.2.1.0</snmp_oid>
<key>upsSmartIdentFirmwareRevision</key>
<delay>40320s</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Inventory Data</name>
</application>
</applications>
</item>
<item>
<name>UPS input last fail cause</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.3.2.5.0</snmp_oid>
<key>upsSmartInputLineFailCause</key>
<trends>0</trends>
<value_type>TEXT</value_type>
<description>The reason for the occurrence of the last transfer
to UPS battery power. The variable is set to
noTransfer(1) if there is no transfer yet. The variable
is set to highLineVoltage(2) if the transfer to battery is
caused by an over voltage greater than the high transfer
voltage. The variable is set to brownout(3) if the duration
of the outage is greater than five seconds and the line
voltage is between 40 percent of the rated output voltage and
the low transfer voltage. The variable is set to blackout(4)
if the duration of the outage is greater than five seconds and
the line voltage is between 40 percent of the rated output voltage
and ground. The variable is set to smallMomentarySag(5)
if the duration of the outage is less than five seconds and
the line voltage is between 40 percent of the rated output voltage
and the low transfer voltage. The variable is set to
deepMomentarySag(6) if the duration of the outage is less
than five seconds and the line voltage is between 40 percent of the
rated output voltage and ground.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<valuemap>
<name>upsSmartInputLineFailCause</name>
</valuemap>
</item>
<item>
<name>UPS input frequency</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.3.2.4.0</snmp_oid>
<key>upsSmartInputFrequency</key>
<units>Hz</units>
<description>The current input frequency to the UPS system in 1/10 Hz.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
</item>
<item>
<name>UPS input voltage</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.3.2.1.0</snmp_oid>
<key>upsSmartInputLineVoltage</key>
<value_type>FLOAT</value_type>
<units>VAC</units>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last()}<200</expression>
<name>UPS NetAgent - No Input Voltage or Too low</name>
<priority>HIGH</priority>
</trigger>
<trigger>
<expression>{last()}>255</expression>
<name>UPS NetAgent - Input Voltage Too High</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>UPS output frequency</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.4.2.2.0</snmp_oid>
<key>upsSmartOutputFrequency</key>
<units>Hz</units>
<description>The current input frequency to the UPS system in 1/10 Hz.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
</item>
<item>
<name>UPS output load (%)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.4.2.3.0</snmp_oid>
<key>upsSmartOutputLoad</key>
<units>%</units>
<description>The current UPS load expressed in percent
of rated capacity.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}>70</expression>
<name>UPS NetAgent - Output Load Too High</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
<item>
<name>UPS output voltage</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.4.2.1.0</snmp_oid>
<key>upsSmartOutputVoltage</key>
<units>VAC</units>
<description>The output voltage of the UPS system in 1/10 VAC</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last(,1m)}<190</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(,1m)}>210</recovery_expression>
<name>UPS NetAgent - No enough output energy from UPS</name>
<priority>HIGH</priority>
<description>Output from UPS</description>
</trigger>
</triggers>
</item>
<item>
<name>UPS status</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.4.1.1.0</snmp_oid>
<key>upsBaseOutputStatus</key>
<description>The current state of the UPS. If the UPS is unable
to determine the state of the UPS this variable is set
to unknown(1).</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<valuemap>
<name>UPS NetAgent Status</name>
</valuemap>
</item>
<item>
<name>UPS time on battery</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.935.1.1.1.2.1.2.0</snmp_oid>
<key>upsBaseBatteryTimeOnBattery</key>
<units>s</units>
<description>The elapsed time in seconds since the UPS has switched
to battery power.
Прошедшее время в секундах с момента переключения ИБП
на батареи.</description>
<applications>
<application>
<name>Operational</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
</item>
<item>
<name>Uptime</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.1.3.0</snmp_oid>
<key>sysUpTime</key>
<delay>1m</delay>
<units>uptime</units>
<applications>
<application>
<name>Status</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
</item>
</items>
<templates>
<template>
<name>Template Module ICMP Ping</name>
</template>
</templates>
<screens/>
</template>
</templates>
<value_maps>
<value_map>
<name>apcBatteryStatus</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>unknown</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>batteryNormal</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>batteryLow</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>batteryDepleted</newvalue>
</mapping>
</mappings>
</value_map>
<value_map>
<name>UPS NetAgent Status</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>unknown</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>onLine</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>onBattery</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>onBoost</newvalue>
</mapping>
<mapping>
<value>5</value>
<newvalue>sleeping</newvalue>
</mapping>
<mapping>
<value>6</value>
<newvalue>onBypass</newvalue>
</mapping>
<mapping>
<value>7</value>
<newvalue>rebooting</newvalue>
</mapping>
<mapping>
<value>8</value>
<newvalue>standBy</newvalue>
</mapping>
<mapping>
<value>9</value>
<newvalue>onBuck</newvalue>
</mapping>
</mappings>
</value_map>
<value_map>
<name>upsSmartInputLineFailCause</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>unknown</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>noTransfer</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>highLineVoltage</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>brownout</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>blackout</newvalue>
</mapping>
<mapping>
<value>5</value>
<newvalue>smallMomentarySag</newvalue>
</mapping>
<mapping>
<value>6</value>
<newvalue>deepMomentarySag</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>