ZabbixAgent: zbx_template_MC04-DSL-3U.yaml

File zbx_template_MC04-DSL-3U.yaml, 140.0 KB (added by alx, 95 minutes ago)
Line 
1zabbix_export:
2 version: '7.4'
3 template_groups:
4 - uuid: 6da90d55fdc54abeab33e1848e54fd35
5 name: MC04-DSL-3U
6 templates:
7 - uuid: bd4fe938e938427199d05efef61d0a67
8 template: 'Template MC04-DSL-3U'
9 name: 'Template MC04-DSL-3U'
10 description: 'Шаблон мониторинга аппаратуры MC04-DSL-3U'
11 groups:
12 - name: MC04-DSL-3U
13 items:
14 - uuid: f5d6129c69be4208a3c7a15e083967dc
15 name: 'Список всех плат'
16 type: ZABBIX_ACTIVE
17 key: 'MCv2.boardlist[]'
18 delay: 10m
19 history: '0'
20 value_type: TEXT
21 discovery_rules:
22 - uuid: 09691328527b44b586d02607ac47d12b
23 name: Плата
24 type: DEPENDENT
25 key: all-boards
26 item_prototypes:
27 - uuid: b0a3c3238a3541ffb6596d37adcde02e
28 name: '{#BOARDNAME} slot {#SLOT}: status'
29 type: ZABBIX_ACTIVE
30 key: 'MCv2.getvar[{#SLOT}, .3.0]'
31 delay: 10m
32 valuemap:
33 name: 'MC04 board status'
34 tags:
35 - tag: Board
36 value: '{#BOARDNAME}'
37 trigger_prototypes:
38 - uuid: 345a1e80985d456b9826b0a12ec0d3d9
39 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .3.0])=1'
40 name: '{#BOARDNAME} slot {#SLOT}: Общая авария платы'
41 priority: HIGH
42 description: 'Авария платы {#BOARDNAME} в слоте {#SLOT}.'
43 manual_close: 'YES'
44 - uuid: 6f2866832c8d446f9daab4fe417afcfd
45 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .3.0])>1'
46 name: '{#BOARDNAME} slot {#SLOT}: Общая авария платы'
47 priority: WARNING
48 description: 'Несрочная авария платы {#BOARDNAME} в слоте {#SLOT}.'
49 manual_close: 'YES'
50 master_item:
51 key: 'MCv2.boardlist[]'
52 - uuid: 8aa61106cfc34253ab8864f1eba1473f
53 name: BS-220
54 type: DEPENDENT
55 key: boards-BS-220
56 filter:
57 conditions:
58 - macro: '{#BOARDTYPE}'
59 value: ^24$
60 item_prototypes:
61 - uuid: 8f0070f848b64681b385a9102f0013bb
62 name: '{#BOARDNAME} slot {#SLOT}: Ubat'
63 type: ZABBIX_ACTIVE
64 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}]'
65 value_type: FLOAT
66 units: V
67 preprocessing:
68 - type: MULTIPLIER
69 parameters:
70 - '0.01'
71 tags:
72 - tag: Board
73 value: '{#BOARDNAME}'
74 - uuid: c59ae9eda16741898b33e1a58950db0e
75 name: '{#BOARDNAME} slot {#SLOT}: Uout'
76 type: ZABBIX_ACTIVE
77 key: 'MCv2.getvar[{#SLOT}, .6.0, name={#BOARDNAME}]'
78 value_type: FLOAT
79 units: V
80 preprocessing:
81 - type: MULTIPLIER
82 parameters:
83 - '0.01'
84 tags:
85 - tag: Board
86 value: '{#BOARDNAME}'
87 - uuid: 04d13e5478a14bc8b334f0bded1b55b3
88 name: '{#BOARDNAME} slot {#SLOT}: Ibat'
89 type: ZABBIX_ACTIVE
90 key: 'MCv2.getvar[{#SLOT}, .7.0, name={#BOARDNAME}]'
91 value_type: FLOAT
92 units: A
93 preprocessing:
94 - type: MULTIPLIER
95 parameters:
96 - '0.001'
97 tags:
98 - tag: Board
99 value: '{#BOARDNAME}'
100 - uuid: cf999353c8094717bd10557368e59361
101 name: '{#BOARDNAME} slot {#SLOT}: Iout'
102 type: ZABBIX_ACTIVE
103 key: 'MCv2.getvar[{#SLOT}, .8.0, name={#BOARDNAME}]'
104 value_type: FLOAT
105 units: A
106 preprocessing:
107 - type: MULTIPLIER
108 parameters:
109 - '0.001'
110 tags:
111 - tag: Board
112 value: '{#BOARDNAME}'
113 - uuid: 195c27e6611a415dae33ae416da9e893
114 name: '{#BOARDNAME} slot {#SLOT}: No input'
115 type: ZABBIX_ACTIVE
116 key: 'MCv2.getvar[{#SLOT}, .10.0, name={#BOARDNAME}]'
117 delay: 10m
118 valuemap:
119 name: 'MC04 board status'
120 tags:
121 - tag: Board
122 value: '{#BOARDNAME}'
123 trigger_prototypes:
124 - uuid: ac3ff22d9f934614abbf4684a6407a08
125 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.0, name={#BOARDNAME}])>0'
126 name: '{#BOARDNAME} slot {#SLOT}: Нет входного напряжения'
127 priority: HIGH
128 manual_close: 'YES'
129 tags:
130 - tag: Board
131 value: '{#BOARDNAME}'
132 - uuid: 0c26bb5826c047dfbdf84799538f29e6
133 name: '{#BOARDNAME} slot {#SLOT}: No output'
134 type: ZABBIX_ACTIVE
135 key: 'MCv2.getvar[{#SLOT},.12.0,name={#BOARDNAME}]'
136 delay: 10m
137 valuemap:
138 name: 'MC04 board status'
139 tags:
140 - tag: Board
141 value: '{#BOARDNAME}'
142 trigger_prototypes:
143 - uuid: be8e42ba164c48f3be4626d086ff840c
144 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.12.0,name={#BOARDNAME}])>0'
145 name: '{#BOARDNAME} slot {#SLOT}: Нет выходного напряжения'
146 priority: HIGH
147 manual_close: 'YES'
148 tags:
149 - tag: Board
150 value: '{#BOARDNAME}'
151 - uuid: c65da8234b6441588b60355d72305352
152 name: '{#BOARDNAME} slot {#SLOT}: Battery low'
153 type: ZABBIX_ACTIVE
154 key: 'MCv2.getvar[{#SLOT}, .14.0,name={#BOARDNAME}]'
155 delay: 10m
156 valuemap:
157 name: 'MC04 board status'
158 tags:
159 - tag: Board
160 value: '{#BOARDNAME}'
161 trigger_prototypes:
162 - uuid: 341a01abfa7e474aa5c2d4741ac7b621
163 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .14.0,name={#BOARDNAME}])>0'
164 name: '{#BOARDNAME} slot {#SLOT}: Батарея разряжена'
165 priority: AVERAGE
166 manual_close: 'YES'
167 tags:
168 - tag: Board
169 value: '{#BOARDNAME}'
170 - uuid: b571cb4bdee24bef8f84116ffbbaeefc
171 name: '{#BOARDNAME} slot {#SLOT}: Battery OFF'
172 type: ZABBIX_ACTIVE
173 key: 'MCv2.getvar[{#SLOT}, .16.0,name={#BOARDNAME}]'
174 delay: 10m
175 valuemap:
176 name: 'MC04 board status'
177 tags:
178 - tag: Board
179 value: '{#BOARDNAME}'
180 trigger_prototypes:
181 - uuid: b6809cf1e5a3438fac1e6a6a6dd47907
182 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .16.0,name={#BOARDNAME}])>0'
183 name: '{#BOARDNAME} slot {#SLOT}: Батарея отключена'
184 priority: HIGH
185 manual_close: 'YES'
186 tags:
187 - tag: Board
188 value: '{#BOARDNAME}'
189 - uuid: 59d975935e844a7186573853619a4dd1
190 name: '{#BOARDNAME} slot {#SLOT}: reserv'
191 type: ZABBIX_ACTIVE
192 key: 'MCv2.getvar[{#SLOT},.18.0,name={#BOARDNAME}]'
193 delay: 10m
194 valuemap:
195 name: 'MC04 board status'
196 tags:
197 - tag: Board
198 value: '{#BOARDNAME}'
199 trigger_prototypes:
200 - uuid: 22895c4fe1134d6eaf291c80517f4875
201 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.18.0,name={#BOARDNAME}])>0'
202 name: '{#BOARDNAME} slot {#SLOT}: Переход на резерв'
203 priority: AVERAGE
204 manual_close: 'YES'
205 tags:
206 - tag: Board
207 value: '{#BOARDNAME}'
208 - uuid: 192f6caa308644cca1a267c7d3270ab4
209 name: '{#BOARDNAME} slot {#SLOT}: overload'
210 type: ZABBIX_ACTIVE
211 key: 'MCv2.getvar[{#SLOT},.20.0,name={#BOARDNAME}]'
212 delay: 10m
213 valuemap:
214 name: 'MC04 board status'
215 tags:
216 - tag: Board
217 value: '{#BOARDNAME}'
218 trigger_prototypes:
219 - uuid: ff49cd6979b84eb89ddb1979517aef29
220 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.20.0,name={#BOARDNAME}])>0'
221 name: '{#BOARDNAME} slot {#SLOT}: Перегрузка'
222 priority: WARNING
223 manual_close: 'YES'
224 tags:
225 - tag: Board
226 value: '{#BOARDNAME}'
227 - uuid: 03a94e1ae64c48faa63545918ad1b70a
228 name: '{#BOARDNAME} slot {#SLOT}: Авария термодатчика'
229 type: ZABBIX_ACTIVE
230 key: 'MCv2.getvar[{#SLOT},.27.0,name={#BOARDNAME}]'
231 delay: 10m
232 valuemap:
233 name: 'MC04 board status'
234 tags:
235 - tag: Board
236 value: '{#BOARDNAME}'
237 trigger_prototypes:
238 - uuid: a5bcf646d094482dafe867d7a0da2db1
239 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.27.0,name={#BOARDNAME}])>0'
240 name: '{#BOARDNAME} slot {#SLOT}: Авария термодатчика'
241 priority: HIGH
242 manual_close: 'YES'
243 tags:
244 - tag: Board
245 value: '{#BOARDNAME}'
246 master_item:
247 key: 'MCv2.boardlist[]'
248 - uuid: 06ee9907b00f4a57af382628dcfe65e5
249 name: EM-04/MI-04
250 type: DEPENDENT
251 key: boards-EM-04
252 filter:
253 conditions:
254 - macro: '{#BOARDTYPE}'
255 value: ^(5|25)$
256 master_item:
257 key: 'MCv2.boardlist[]'
258 - uuid: 3c1abd32055a41168aa553a36d2e76b8
259 name: FO-08/FS-08
260 type: DEPENDENT
261 key: boards-FO-08
262 filter:
263 conditions:
264 - macro: '{#BOARDTYPE}'
265 value: '^[34]$'
266 master_item:
267 key: 'MCv2.boardlist[]'
268 - uuid: 99ba1f74170a4159b1481b02ebdcdcee
269 name: GE-04/PE-04/MC-02/PE-14
270 type: DEPENDENT
271 key: boards-GE-04
272 filter:
273 conditions:
274 - macro: '{#BOARDTYPE}'
275 value: ^(6|22|42|45)$
276 item_prototypes:
277 - uuid: e6bc17c399b74a6696428b2e8780637c
278 name: '{#BOARDNAME} slot {#SLOT} port 1: current'
279 type: DEPENDENT
280 key: 'ge04.port.current[{#SLOT}, 1]'
281 value_type: FLOAT
282 units: A
283 preprocessing:
284 - type: JAVASCRIPT
285 parameters:
286 - |
287 data = eval(value);
288 return (data[5] | data[6] << 8) * 61.035 / 1000000;
289 - type: DISCARD_UNCHANGED
290 master_item:
291 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
292 tags:
293 - tag: Application
294 value: ethernet
295 - tag: Board
296 value: '{#BOARDNAME}'
297 - uuid: 5bcd2f93336346c4a11de6e75ff02be7
298 name: '{#BOARDNAME} slot {#SLOT} port 2: current'
299 type: DEPENDENT
300 key: 'ge04.port.current[{#SLOT}, 2]'
301 value_type: FLOAT
302 units: A
303 preprocessing:
304 - type: JAVASCRIPT
305 parameters:
306 - |
307 data = eval(value);
308 return (data[9] | data[10] << 8) * 61.035 / 1000000;
309 - type: DISCARD_UNCHANGED
310 master_item:
311 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
312 tags:
313 - tag: Application
314 value: ethernet
315 - tag: Board
316 value: '{#BOARDNAME}'
317 - uuid: 7395bc1897794d6da025516747c7da41
318 name: '{#BOARDNAME} slot {#SLOT} port 3: current'
319 type: DEPENDENT
320 key: 'ge04.port.current[{#SLOT}, 3]'
321 value_type: FLOAT
322 units: A
323 preprocessing:
324 - type: JAVASCRIPT
325 parameters:
326 - |
327 data = eval(value);
328 return (data[13] | data[14] << 8) * 61.035 / 1000000;
329 - type: DISCARD_UNCHANGED
330 master_item:
331 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
332 tags:
333 - tag: Application
334 value: ethernet
335 - tag: Board
336 value: '{#BOARDNAME}'
337 - uuid: 436316177b0441459f3cd25f63bd19ab
338 name: '{#BOARDNAME} slot {#SLOT} port 4: current'
339 type: DEPENDENT
340 key: 'ge04.port.current[{#SLOT}, 4]'
341 value_type: FLOAT
342 units: A
343 preprocessing:
344 - type: JAVASCRIPT
345 parameters:
346 - |
347 data = eval(value);
348 return (data[17] | data[18] << 8) * 61.035 / 1000000;
349 - type: DISCARD_UNCHANGED
350 master_item:
351 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
352 tags:
353 - tag: Application
354 value: ethernet
355 - tag: Board
356 value: '{#BOARDNAME}'
357 - uuid: 1809a1b54b8e409f9f2696256dbf7388
358 name: '{#BOARDNAME} slot {#SLOT} port 1: PoE status'
359 type: DEPENDENT
360 key: 'ge04.port.status[{#SLOT}, 1]'
361 valuemap:
362 name: 'PE-04 port status'
363 preprocessing:
364 - type: JSONPATH
365 parameters:
366 - '$[1]'
367 - type: JAVASCRIPT
368 parameters:
369 - 'return value & 7;'
370 - type: DISCARD_UNCHANGED_HEARTBEAT
371 parameters:
372 - '3600'
373 master_item:
374 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
375 tags:
376 - tag: Application
377 value: ethernet
378 - tag: Board
379 value: '{#BOARDNAME}'
380 - uuid: fc9e114b37db480c9c39268de884f07a
381 name: '{#BOARDNAME} slot {#SLOT} port 2: PoE status'
382 type: DEPENDENT
383 key: 'ge04.port.status[{#SLOT}, 2]'
384 valuemap:
385 name: 'PE-04 port status'
386 preprocessing:
387 - type: JSONPATH
388 parameters:
389 - '$[2]'
390 - type: JAVASCRIPT
391 parameters:
392 - 'return value & 7;'
393 - type: DISCARD_UNCHANGED_HEARTBEAT
394 parameters:
395 - '3600'
396 master_item:
397 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
398 tags:
399 - tag: Application
400 value: ethernet
401 - tag: Board
402 value: '{#BOARDNAME}'
403 - uuid: 12b556b24394490ab36a2ea4fad5acb9
404 name: '{#BOARDNAME} slot {#SLOT} port 3: PoE status'
405 type: DEPENDENT
406 key: 'ge04.port.status[{#SLOT}, 3]'
407 valuemap:
408 name: 'PE-04 port status'
409 preprocessing:
410 - type: JSONPATH
411 parameters:
412 - '$[3]'
413 - type: JAVASCRIPT
414 parameters:
415 - 'return value & 7;'
416 - type: DISCARD_UNCHANGED_HEARTBEAT
417 parameters:
418 - '3600'
419 master_item:
420 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
421 tags:
422 - tag: Application
423 value: ethernet
424 - tag: Board
425 value: '{#BOARDNAME}'
426 - uuid: e79a22fcd73740018b96a14b7cee23c1
427 name: '{#BOARDNAME} slot {#SLOT} port 4: PoE status'
428 type: DEPENDENT
429 key: 'ge04.port.status[{#SLOT}, 4]'
430 valuemap:
431 name: 'PE-04 port status'
432 preprocessing:
433 - type: JSONPATH
434 parameters:
435 - '$[4]'
436 - type: JAVASCRIPT
437 parameters:
438 - 'return value & 7;'
439 - type: DISCARD_UNCHANGED_HEARTBEAT
440 parameters:
441 - '3600'
442 master_item:
443 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
444 tags:
445 - tag: Application
446 value: ethernet
447 - tag: Board
448 value: '{#BOARDNAME}'
449 - uuid: dbce25767cf949cea996b1a2e3e5d03a
450 name: '{#BOARDNAME} slot {#SLOT} port 1: voltage'
451 type: DEPENDENT
452 key: 'ge04.port.voltage[{#SLOT}, 1]'
453 value_type: FLOAT
454 units: V
455 preprocessing:
456 - type: JAVASCRIPT
457 parameters:
458 - |
459 data = eval(value);
460 return (data[7] | data[8] << 8) * 5.92 / 1000;
461 - type: DISCARD_UNCHANGED
462 master_item:
463 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
464 tags:
465 - tag: Application
466 value: ethernet
467 - tag: Board
468 value: '{#BOARDNAME}'
469 - uuid: 2cdcc2d72aae46cea2a0558bda33df17
470 name: '{#BOARDNAME} slot {#SLOT} port 2: voltage'
471 type: DEPENDENT
472 key: 'ge04.port.voltage[{#SLOT}, 2]'
473 value_type: FLOAT
474 units: V
475 preprocessing:
476 - type: JAVASCRIPT
477 parameters:
478 - |
479 data = eval(value);
480 return (data[11] | data[12] << 8) * 5.92 / 1000;
481 - type: DISCARD_UNCHANGED
482 master_item:
483 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
484 tags:
485 - tag: Application
486 value: ethernet
487 - tag: Board
488 value: '{#BOARDNAME}'
489 - uuid: 780796a50f2940ed90ac93b458ea2f58
490 name: '{#BOARDNAME} slot {#SLOT} port 3: voltage'
491 type: DEPENDENT
492 key: 'ge04.port.voltage[{#SLOT}, 3]'
493 value_type: FLOAT
494 units: V
495 preprocessing:
496 - type: JAVASCRIPT
497 parameters:
498 - |
499 data = eval(value);
500 return (data[15] | data[16] << 8) * 5.92 / 1000;
501 - type: DISCARD_UNCHANGED
502 master_item:
503 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
504 tags:
505 - tag: Application
506 value: ethernet
507 - tag: Board
508 value: '{#BOARDNAME}'
509 - uuid: f78fcfd8a03141df876231d8f12ff5cc
510 name: '{#BOARDNAME} slot {#SLOT} port 4: voltage'
511 type: DEPENDENT
512 key: 'ge04.port.voltage[{#SLOT}, 4]'
513 value_type: FLOAT
514 units: V
515 preprocessing:
516 - type: JAVASCRIPT
517 parameters:
518 - |
519 data = eval(value);
520 return (data[19] | data[20] << 8) * 5.92 / 1000;
521 - type: DISCARD_UNCHANGED
522 master_item:
523 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
524 tags:
525 - tag: Application
526 value: ethernet
527 - tag: Board
528 value: '{#BOARDNAME}'
529 - uuid: 4b7c851452f54602af7d3383e12e02a5
530 name: '{#BOARDNAME} slot {#SLOT}: PoE status'
531 type: ZABBIX_ACTIVE
532 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME},format=array]'
533 value_type: TEXT
534 tags:
535 - tag: Application
536 value: ethernet
537 - tag: Board
538 value: '{#BOARDNAME}'
539 master_item:
540 key: 'MCv2.boardlist[]'
541 - uuid: e07219f25bdb4d9d98ac3d7b57eb88b8
542 name: GE-12/GE-16/GE-108
543 type: DEPENDENT
544 key: boards-GE-12
545 filter:
546 conditions:
547 - macro: '{#BOARDTYPE}'
548 value: ^(17|19|32)$
549 item_prototypes:
550 - uuid: ef4ba2087f2c408496ed26d77158b059
551 name: '{#BOARDNAME} slot {#SLOT}: sync status'
552 type: ZABBIX_ACTIVE
553 key: 'MCv2.getvar[{#SLOT},.14.0,name={#BOARDNAME}]'
554 valuemap:
555 name: 'GE-12 sync status'
556 preprocessing:
557 - type: JAVASCRIPT
558 parameters:
559 - 'return (value >> 12) & 3;'
560 tags:
561 - tag: Board
562 value: '{#BOARDNAME}'
563 master_item:
564 key: 'MCv2.boardlist[]'
565 - uuid: 0fd0f9fc592f462c85f78886e653111b
566 name: PS-001
567 type: DEPENDENT
568 key: boards-PS-001
569 filter:
570 conditions:
571 - macro: '{#BOARDTYPE}'
572 value: ^9$
573 item_prototypes:
574 - uuid: 2dc0615a9ecc47b594af9cccdf6acf64
575 name: '{#BOARDNAME} slot {#SLOT}: Uin'
576 type: ZABBIX_ACTIVE
577 key: 'MCv2.getvar[{#SLOT}, .5.0,name={#BOARDNAME}]'
578 value_type: FLOAT
579 units: V
580 preprocessing:
581 - type: MULTIPLIER
582 parameters:
583 - '0.1'
584 - uuid: 80ba5b6937c84846a998b8c7aef0774b
585 name: '{#BOARDNAME} slot {#SLOT}: Uout'
586 type: ZABBIX_ACTIVE
587 key: 'MCv2.getvar[{#SLOT}, .6.0,name={#BOARDNAME}]'
588 value_type: FLOAT
589 units: V
590 preprocessing:
591 - type: MULTIPLIER
592 parameters:
593 - '0.1'
594 - uuid: 2795fd067a554772b4335f921b37daf0
595 name: '{#BOARDNAME} slot {#SLOT}: Iout'
596 type: ZABBIX_ACTIVE
597 key: 'MCv2.getvar[{#SLOT}, .7.0,name={#BOARDNAME}]'
598 value_type: FLOAT
599 units: A
600 preprocessing:
601 - type: MULTIPLIER
602 parameters:
603 - '0.0001'
604 - uuid: 4fa3157dc1d44d798335fabef6472f35
605 name: '{#BOARDNAME} slot {#SLOT}: Переход на резерв'
606 type: ZABBIX_ACTIVE
607 key: 'MCv2.getvar[{#SLOT}, .9.0,name={#BOARDNAME}]'
608 delay: 10m
609 valuemap:
610 name: 'MC04 board status'
611 trigger_prototypes:
612 - uuid: 97624b6eada84784b869126ca265cc23
613 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .9.0,name={#BOARDNAME}])>0'
614 name: '{#BOARDNAME} slot {#SLOT}: Переход на резерв'
615 priority: WARNING
616 tags:
617 - tag: Board
618 value: '{#BOARDNAME}'
619 - uuid: 7cca2c4794a44dc6b29796c1054f4773
620 name: '{#BOARDNAME} slot {#SLOT}: Загрузка 100%'
621 type: ZABBIX_ACTIVE
622 key: 'MCv2.getvar[{#SLOT}, .10.0,name={#BOARDNAME}]'
623 delay: 10m
624 valuemap:
625 name: 'MC04 board status'
626 trigger_prototypes:
627 - uuid: 478c148dc6ab4daba08f275a487bbfb8
628 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.0,name={#BOARDNAME}])>0'
629 name: '{#BOARDNAME} slot {#SLOT}: Загрузка 100%'
630 priority: WARNING
631 tags:
632 - tag: Board
633 value: '{#BOARDNAME}'
634 - uuid: d33b49b3ce3345f38eb1963efa507116
635 name: '{#BOARDNAME} slot {#SLOT}: Отсутствует 12 В'
636 type: ZABBIX_ACTIVE
637 key: 'MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME}]'
638 delay: 10m
639 valuemap:
640 name: 'MC04 board status'
641 trigger_prototypes:
642 - uuid: 3b230fb067594830b1bb7a5ce8ed41f6
643 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .11.0,name={#BOARDNAME}])>0'
644 name: '{#BOARDNAME} slot {#SLOT}: Отсутствует 12 В'
645 priority: HIGH
646 tags:
647 - tag: Board
648 value: '{#BOARDNAME}'
649 - uuid: 661826deca7248a5858baef06b37c826
650 name: '{#BOARDNAME} slot {#SLOT}: NO reserve'
651 type: ZABBIX_ACTIVE
652 key: 'MCv2.getvar[{#SLOT}, .12.0,name={#BOARDNAME}]'
653 delay: 10m
654 valuemap:
655 name: 'MC04 board status'
656 trigger_prototypes:
657 - uuid: 3407e88c9ca54fcab100a6cd72f78817
658 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .12.0,name={#BOARDNAME}])>0'
659 name: '{#BOARDNAME} slot {#SLOT}: Нет напряжения на резервном источнике (DC)'
660 priority: WARNING
661 tags:
662 - tag: Board
663 value: '{#BOARDNAME}'
664 - uuid: 87241fe9d03f4d06aa426112325c5f01
665 name: '{#BOARDNAME} slot {#SLOT}: ON reserve'
666 type: ZABBIX_ACTIVE
667 key: 'MCv2.getvar[{#SLOT}, .13.0,name={#BOARDNAME}]'
668 delay: 10m
669 valuemap:
670 name: 'MC04 board status'
671 trigger_prototypes:
672 - uuid: bd77f461877d4d8fb3b11f211356b306
673 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.0,name={#BOARDNAME}])>0'
674 name: '{#BOARDNAME} slot {#SLOT}: Переход на резервный источник питания (DC)'
675 priority: WARNING
676 tags:
677 - tag: Board
678 value: '{#BOARDNAME}'
679 master_item:
680 key: 'MCv2.boardlist[]'
681 - uuid: 51b7a261e5844c1786bd7de2e4718f1c
682 name: PS-24D/PS-220D/PS-48D/PS-650DT
683 type: DEPENDENT
684 key: boards-PS-24D
685 filter:
686 conditions:
687 - macro: '{#BOARDTYPE}'
688 value: ^(26|29|30|34|35)$
689 item_prototypes:
690 - uuid: afb734d925ce4670ad25afeafaf2da06
691 name: '{#BOARDNAME} slot {#SLOT}: Uin'
692 type: ZABBIX_ACTIVE
693 key: 'MCv2.getvar[{#SLOT},.5.0, name={#BOARDNAME}]'
694 value_type: FLOAT
695 units: V
696 preprocessing:
697 - type: MULTIPLIER
698 parameters:
699 - '0.01'
700 tags:
701 - tag: Board
702 value: '{#BOARDNAME}'
703 - uuid: 53804cb63c9d45dfaa61b9fea7d95b8f
704 name: '{#BOARDNAME} slot {#SLOT}: Uout'
705 type: ZABBIX_ACTIVE
706 key: 'MCv2.getvar[{#SLOT},.6.0, name={#BOARDNAME}]'
707 value_type: FLOAT
708 units: V
709 preprocessing:
710 - type: MULTIPLIER
711 parameters:
712 - '0.01'
713 tags:
714 - tag: Board
715 value: '{#BOARDNAME}'
716 - uuid: 020bf80b9a164980bfdab7f104357117
717 name: '{#BOARDNAME} slot {#SLOT}: load'
718 type: ZABBIX_ACTIVE
719 key: 'MCv2.getvar[{#SLOT},.7.0, name={#BOARDNAME}]'
720 units: '%'
721 tags:
722 - tag: Board
723 value: '{#BOARDNAME}'
724 trigger_prototypes:
725 - uuid: 62f50c47c9a148f6b7629955f953b811
726 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.7.0, name={#BOARDNAME}])>80'
727 name: '{#BOARDNAME} slot {#SLOT}: Нагрузка более $1%'
728 priority: WARNING
729 manual_close: 'YES'
730 tags:
731 - tag: Board
732 value: '{#BOARDNAME}'
733 - uuid: e34940bb2822451d91705dd93efbe18d
734 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.7.0, name={#BOARDNAME}])>90'
735 name: '{#BOARDNAME} slot {#SLOT}: Нагрузка более $1%'
736 priority: AVERAGE
737 manual_close: 'YES'
738 tags:
739 - tag: Board
740 value: '{#BOARDNAME}'
741 - uuid: 3f77f0deeb1d46639aba9eeb2f8dba1c
742 name: '{#BOARDNAME} slot {#SLOT}: Iout'
743 type: ZABBIX_ACTIVE
744 key: 'MCv2.getvar[{#SLOT},.8.0, name={#BOARDNAME}]'
745 value_type: FLOAT
746 units: A
747 preprocessing:
748 - type: MULTIPLIER
749 parameters:
750 - '0.001'
751 tags:
752 - tag: Board
753 value: '{#BOARDNAME}'
754 - uuid: 362c1628c2b14ebe8d71aa9edeb9cbe9
755 name: '{#BOARDNAME} slot {#SLOT}: no input'
756 type: ZABBIX_ACTIVE
757 key: 'MCv2.getvar[{#SLOT},.10.0, name={#BOARDNAME}]'
758 delay: 10m
759 valuemap:
760 name: 'MC04 board status'
761 tags:
762 - tag: Board
763 value: '{#BOARDNAME}'
764 trigger_prototypes:
765 - uuid: 237062443baf4428a6a0fd44d9bc740c
766 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.10.0, name={#BOARDNAME}])>0'
767 name: '{#BOARDNAME} slot {#SLOT}: Низкое входное напряжение'
768 priority: AVERAGE
769 manual_close: 'YES'
770 tags:
771 - tag: Board
772 value: '{#BOARDNAME}'
773 - uuid: b122ae6d79fd4b67bafeebc56d808058
774 name: '{#BOARDNAME} slot {#SLOT}: no output'
775 type: ZABBIX_ACTIVE
776 key: 'MCv2.getvar[{#SLOT},.12.0, name={#BOARDNAME}]'
777 delay: 10m
778 valuemap:
779 name: 'MC04 board status'
780 tags:
781 - tag: Board
782 value: '{#BOARDNAME}'
783 trigger_prototypes:
784 - uuid: 3fbd063ea3324a35bef6f440b07f36b3
785 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.12.0, name={#BOARDNAME}])>0'
786 name: '{#BOARDNAME} slot {#SLOT}: Отсутствует напряжение 12 В'
787 priority: AVERAGE
788 manual_close: 'YES'
789 tags:
790 - tag: Board
791 value: '{#BOARDNAME}'
792 - uuid: 2ecf559a194e47f2b6a27f30c556f6e4
793 name: '{#BOARDNAME} slot {#SLOT}: reserv'
794 type: ZABBIX_ACTIVE
795 key: 'MCv2.getvar[{#SLOT},.18.0, name={#BOARDNAME}]'
796 delay: 10m
797 valuemap:
798 name: 'MC04 board status'
799 tags:
800 - tag: Board
801 value: '{#BOARDNAME}'
802 trigger_prototypes:
803 - uuid: b061fe3891a5437b97dddf1f6cb1c58f
804 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.18.0, name={#BOARDNAME}])>0'
805 name: '{#BOARDNAME} slot {#SLOT}: Переход на резерв'
806 priority: AVERAGE
807 manual_close: 'YES'
808 tags:
809 - tag: Board
810 value: '{#BOARDNAME}'
811 - uuid: 6e76b7c9e1af4aea847e7f510ab6b16b
812 name: '{#BOARDNAME} slot {#SLOT}: overload'
813 type: ZABBIX_ACTIVE
814 key: 'MCv2.getvar[{#SLOT},.20.0, name={#BOARDNAME}]'
815 delay: 10m
816 valuemap:
817 name: 'MC04 board status'
818 tags:
819 - tag: Board
820 value: '{#BOARDNAME}'
821 trigger_prototypes:
822 - uuid: 5d060f58f1334c6ab5f8b9494fcd4ab0
823 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.20.0, name={#BOARDNAME}])>0'
824 name: '{#BOARDNAME} slot {#SLOT}: Перегрузка'
825 priority: AVERAGE
826 manual_close: 'YES'
827 tags:
828 - tag: Board
829 value: '{#BOARDNAME}'
830 - uuid: 1b429fe1b40a4bd082605de746df0ca6
831 name: '{#BOARDNAME} slot {#SLOT}: внутренняя температура'
832 type: ZABBIX_ACTIVE
833 key: 'MCv2.getvar[{#SLOT},.24.0, name={#BOARDNAME}]'
834 units: °C
835 tags:
836 - tag: Board
837 value: '{#BOARDNAME}'
838 trigger_prototypes:
839 - uuid: 85e61172badd43b89512067d34dc9636
840 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.24.0, name={#BOARDNAME}])>70'
841 name: '{#BOARDNAME} slot {#SLOT}: Температура выше $1° C'
842 priority: WARNING
843 manual_close: 'YES'
844 tags:
845 - tag: Board
846 value: '{#BOARDNAME}'
847 - uuid: 65c036c791a441a3b8da0b78850f9f35
848 name: '{#BOARDNAME} slot {#SLOT}: авария термодатчика'
849 type: ZABBIX_ACTIVE
850 key: 'MCv2.getvar[{#SLOT},.26.0, name={#BOARDNAME}]'
851 delay: 10m
852 valuemap:
853 name: 'MC04 board status'
854 tags:
855 - tag: Board
856 value: '{#BOARDNAME}'
857 trigger_prototypes:
858 - uuid: 6785c4c005b24d41820ae93f03e6a661
859 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.26.0, name={#BOARDNAME}])>0'
860 name: '{#BOARDNAME} slot {#SLOT}: Авария термодатчика'
861 priority: HIGH
862 manual_close: 'YES'
863 tags:
864 - tag: Board
865 value: '{#BOARDNAME}'
866 master_item:
867 key: 'MCv2.boardlist[]'
868 - uuid: 89290af3bb024add9f941fe1629b75ea
869 name: PS-220/PS-48
870 type: DEPENDENT
871 key: boards-PS-220
872 filter:
873 conditions:
874 - macro: '{#BOARDTYPE}'
875 value: '^1[34]$'
876 item_prototypes:
877 - uuid: 34fcfd84143c4ca3b5ceeacf0421fb0d
878 name: '{#BOARDNAME} slot {#SLOT}: Uin'
879 type: ZABBIX_ACTIVE
880 key: 'MCv2.getvar[{#SLOT},.5.0,name={#BOARDNAME}]'
881 value_type: FLOAT
882 units: V
883 preprocessing:
884 - type: MULTIPLIER
885 parameters:
886 - '0.1'
887 tags:
888 - tag: Board
889 value: '{#BOARDNAME}'
890 - uuid: cb598e20e9eb42cfb0321f5a11b69ff6
891 name: '{#BOARDNAME} slot {#SLOT}: Uout'
892 type: ZABBIX_ACTIVE
893 key: 'MCv2.getvar[{#SLOT},.6.0,name={#BOARDNAME}]'
894 value_type: FLOAT
895 units: V
896 preprocessing:
897 - type: MULTIPLIER
898 parameters:
899 - '0.1'
900 tags:
901 - tag: Board
902 value: '{#BOARDNAME}'
903 - uuid: 4afff0d3b26a43e7918e72f3a6764ac6
904 name: '{#BOARDNAME} slot {#SLOT}: Iout'
905 type: ZABBIX_ACTIVE
906 key: 'MCv2.getvar[{#SLOT},.7.0,name={#BOARDNAME}]'
907 value_type: FLOAT
908 units: V
909 preprocessing:
910 - type: MULTIPLIER
911 parameters:
912 - '0.0001'
913 tags:
914 - tag: Board
915 value: '{#BOARDNAME}'
916 - uuid: 3162c14e7c7d46578b2648fa2f91ced7
917 name: '{#BOARDNAME} slot {#SLOT}: reserv'
918 type: ZABBIX_ACTIVE
919 key: 'MCv2.getvar[{#SLOT},.9.0,name={#BOARDNAME}]'
920 delay: 10m
921 tags:
922 - tag: Board
923 value: '{#BOARDNAME}'
924 trigger_prototypes:
925 - uuid: 36d750d0ba8e47ddb7526caee5cdeb7e
926 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.9.0,name={#BOARDNAME}])>0'
927 name: '{#BOARDNAME} slot {#SLOT}: Переход на резерв'
928 priority: WARNING
929 manual_close: 'YES'
930 tags:
931 - tag: Board
932 value: '{#BOARDNAME}'
933 - uuid: 4dc1c38b6f804c229087b4f0650c548a
934 name: '{#BOARDNAME} slot {#SLOT}: overload'
935 type: ZABBIX_ACTIVE
936 key: 'MCv2.getvar[{#SLOT},.10.0,name={#BOARDNAME}]'
937 delay: 10m
938 tags:
939 - tag: Board
940 value: '{#BOARDNAME}'
941 trigger_prototypes:
942 - uuid: 60883c22acad4c7b8472f2c02a6947ae
943 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.10.0,name={#BOARDNAME}])>0'
944 name: '{#BOARDNAME} slot {#SLOT}: Загрузка 100%'
945 priority: WARNING
946 manual_close: 'YES'
947 tags:
948 - tag: Board
949 value: '{#BOARDNAME}'
950 - uuid: e695fa6eb7e343b19930a0df10431b60
951 name: '{#BOARDNAME} slot {#SLOT}: no output'
952 type: ZABBIX_ACTIVE
953 key: 'MCv2.getvar[{#SLOT},.11.0,name={#BOARDNAME}]'
954 delay: 10m
955 tags:
956 - tag: Board
957 value: '{#BOARDNAME}'
958 trigger_prototypes:
959 - uuid: acdcc5185c604f11b502d32301351991
960 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.11.0,name={#BOARDNAME}])>0'
961 name: '{#BOARDNAME} slot {#SLOT}: Отсутствует 12 В'
962 priority: HIGH
963 manual_close: 'YES'
964 tags:
965 - tag: Board
966 value: '{#BOARDNAME}'
967 master_item:
968 key: 'MCv2.boardlist[]'
969 - uuid: f840b62a78a344ff9e0472109f49a20e
970 name: RP-01/RP-400/RP-650
971 type: DEPENDENT
972 key: boards-RP-01
973 filter:
974 conditions:
975 - macro: '{#BOARDTYPE}'
976 value: ^(15|36|27)$
977 item_prototypes:
978 - uuid: c3cb045de8914f3db30221c2bde6bc63
979 name: '{#BOARDNAME} slot {#SLOT}: Uin'
980 type: ZABBIX_ACTIVE
981 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME} ]'
982 value_type: FLOAT
983 units: V
984 preprocessing:
985 - type: MULTIPLIER
986 parameters:
987 - '0.1'
988 tags:
989 - tag: Board
990 value: '{#BOARDNAME}'
991 - uuid: 39d2bf98be6b4c8a92da4b859fde1f43
992 name: '{#BOARDNAME} slot {#SLOT}: Iin'
993 type: ZABBIX_ACTIVE
994 key: 'MCv2.getvar[{#SLOT}, .6.0, name={#BOARDNAME} ]'
995 value_type: FLOAT
996 units: A
997 preprocessing:
998 - type: MULTIPLIER
999 parameters:
1000 - '0.0001'
1001 tags:
1002 - tag: Board
1003 value: '{#BOARDNAME}'
1004 - uuid: 0535cca018b54ce69ded847a4171bace
1005 name: '{#BOARDNAME} slot {#SLOT}: Uout'
1006 type: ZABBIX_ACTIVE
1007 key: 'MCv2.getvar[{#SLOT}, .7.0, name={#BOARDNAME} ]'
1008 value_type: FLOAT
1009 units: V
1010 preprocessing:
1011 - type: MULTIPLIER
1012 parameters:
1013 - '0.1'
1014 tags:
1015 - tag: Board
1016 value: '{#BOARDNAME}'
1017 - uuid: 94dab6b7d9c94893840dbd209c29ebd7
1018 name: '{#BOARDNAME} slot {#SLOT}: Iout'
1019 type: ZABBIX_ACTIVE
1020 key: 'MCv2.getvar[{#SLOT}, .8.0, name={#BOARDNAME} ]'
1021 value_type: FLOAT
1022 units: A
1023 preprocessing:
1024 - type: MULTIPLIER
1025 parameters:
1026 - '0.0001'
1027 tags:
1028 - tag: Board
1029 value: '{#BOARDNAME}'
1030 - uuid: e80456e10a7b4496bb36be25a8361720
1031 name: '{#BOARDNAME} slot {#SLOT}: Power off'
1032 type: ZABBIX_ACTIVE
1033 key: 'MCv2.getvar[{#SLOT}, .9.0, name={#BOARDNAME} ]'
1034 delay: 10m
1035 valuemap:
1036 name: 'MC04 board status'
1037 tags:
1038 - tag: Board
1039 value: '{#BOARDNAME}'
1040 trigger_prototypes:
1041 - uuid: c1a9c86b78d940179612f12967b8164d
1042 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .9.0, name={#BOARDNAME} ])>0'
1043 name: '{#BOARDNAME} slot {#SLOT}: Power off'
1044 priority: WARNING
1045 manual_close: 'YES'
1046 - uuid: 32e8a5474ea94f1eb96c501067ae99a2
1047 name: '{#BOARDNAME} slot {#SLOT}: overload'
1048 type: ZABBIX_ACTIVE
1049 key: 'MCv2.getvar[{#SLOT}, .10.0, name={#BOARDNAME} ]'
1050 delay: 10m
1051 valuemap:
1052 name: 'MC04 board status'
1053 tags:
1054 - tag: Board
1055 value: '{#BOARDNAME}'
1056 trigger_prototypes:
1057 - uuid: 5854b5c72cf44195a775a79c1cf72c7a
1058 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.0, name={#BOARDNAME} ])>0'
1059 name: '{#BOARDNAME} slot {#SLOT}: overload'
1060 priority: AVERAGE
1061 manual_close: 'YES'
1062 - uuid: 961edbf566254956bed1658763d679ae
1063 name: '{#BOARDNAME} slot {#SLOT}: High power'
1064 type: ZABBIX_ACTIVE
1065 key: 'MCv2.getvar[{#SLOT}, .12.0, name={#BOARDNAME} ]'
1066 delay: 10m
1067 valuemap:
1068 name: 'MC04 board status'
1069 tags:
1070 - tag: Board
1071 value: '{#BOARDNAME}'
1072 trigger_prototypes:
1073 - uuid: c80149399203479694c83246040adb0c
1074 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .12.0, name={#BOARDNAME} ])>0'
1075 name: '{#BOARDNAME} slot {#SLOT}: High power'
1076 priority: HIGH
1077 manual_close: 'YES'
1078 - uuid: 7b20727bb55e4d64b4f3ea51e979be83
1079 name: '{#BOARDNAME} slot {#SLOT}: Low power'
1080 type: ZABBIX_ACTIVE
1081 key: 'MCv2.getvar[{#SLOT}, .13.0, name={#BOARDNAME} ]'
1082 delay: 10m
1083 valuemap:
1084 name: 'MC04 board status'
1085 tags:
1086 - tag: Board
1087 value: '{#BOARDNAME}'
1088 trigger_prototypes:
1089 - uuid: aafe2314f01c43039e4f374afa3e26c9
1090 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.0, name={#BOARDNAME} ])>0'
1091 name: '{#BOARDNAME} slot {#SLOT}: Low power'
1092 priority: HIGH
1093 manual_close: 'YES'
1094 - uuid: 490477960bf4480689e1ac3f1200c673
1095 name: '{#BOARDNAME} slot {#SLOT}: Температура'
1096 type: ZABBIX_ACTIVE
1097 key: 'MCv2.getvar[{#SLOT}, .15.0, name={#BOARDNAME} ]'
1098 value_type: FLOAT
1099 units: C'
1100 preprocessing:
1101 - type: JAVASCRIPT
1102 parameters:
1103 - |
1104 if(value > 128) value -= 256;
1105 return value;
1106 tags:
1107 - tag: Board
1108 value: '{#BOARDNAME}'
1109 - uuid: 3bfc4eec49c34288b2e0b0635fc69b94
1110 name: '{#BOARDNAME} slot {#SLOT}: No input'
1111 type: ZABBIX_ACTIVE
1112 key: 'MCv2.getvar[{#SLOT}, .16.0, name={#BOARDNAME} ]'
1113 delay: 10m
1114 valuemap:
1115 name: 'MC04 board status'
1116 tags:
1117 - tag: Board
1118 value: '{#BOARDNAME}'
1119 trigger_prototypes:
1120 - uuid: eea9e8748a60499dae6e5fa993819fce
1121 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .16.0, name={#BOARDNAME} ])>0'
1122 name: '{#BOARDNAME} slot {#SLOT}: Нет входного напряжения'
1123 priority: HIGH
1124 manual_close: 'YES'
1125 - uuid: 24203768dc9f47399b0e22fb21ced769
1126 name: '{#BOARDNAME} slot {#SLOT}: Ток утечки'
1127 type: ZABBIX_ACTIVE
1128 key: 'MCv2.getvar[{#SLOT}, .18.0, name={#BOARDNAME} ]'
1129 value_type: FLOAT
1130 units: A
1131 preprocessing:
1132 - type: JAVASCRIPT
1133 parameters:
1134 - |
1135 if(value > 100) value = 256 - (value & 255);
1136 return value;
1137 - type: MULTIPLIER
1138 parameters:
1139 - '0.001'
1140 tags:
1141 - tag: Board
1142 value: '{#BOARDNAME}'
1143 - uuid: b7d09a49c4944a71acab0bd6a7f131f0
1144 name: '{#BOARDNAME} slot {#SLOT}: Отключение ДП по утечке'
1145 type: ZABBIX_ACTIVE
1146 key: 'MCv2.getvar[{#SLOT}, .19.0, name={#BOARDNAME} ]'
1147 delay: 10m
1148 valuemap:
1149 name: 'MC04 board status'
1150 tags:
1151 - tag: Board
1152 value: '{#BOARDNAME}'
1153 trigger_prototypes:
1154 - uuid: b8cee1a076a342e8883150344c65b89d
1155 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .19.0, name={#BOARDNAME} ])>0'
1156 name: '{#BOARDNAME} slot {#SLOT}: Отключение ДП по утечке'
1157 priority: HIGH
1158 manual_close: 'YES'
1159 - uuid: 734883fa64e34badb3e968b14c63598e
1160 name: '{#BOARDNAME} slot {#SLOT}: Защита от утечек отключена'
1161 type: ZABBIX_ACTIVE
1162 key: 'MCv2.getvar[{#SLOT}, .21.0, name={#BOARDNAME} ]'
1163 delay: 10m
1164 valuemap:
1165 name: 'MC04 board status'
1166 tags:
1167 - tag: Board
1168 value: '{#BOARDNAME}'
1169 trigger_prototypes:
1170 - uuid: 11daeefb90084168a85f6e61fb656e2f
1171 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .21.0, name={#BOARDNAME} ])>0'
1172 name: '{#BOARDNAME} slot {#SLOT}: Защита от утечек отключена'
1173 priority: WARNING
1174 manual_close: 'YES'
1175 master_item:
1176 key: 'MCv2.boardlist[]'
1177 - uuid: 107fabeaa0ae43da9ea1ec69cb833b18
1178 name: SM
1179 type: DEPENDENT
1180 key: boards-SM
1181 filter:
1182 conditions:
1183 - macro: '{#BOARDTYPE}'
1184 value: ^(2|10|40)$
1185 item_prototypes:
1186 - uuid: 17f54f6a25a1438b87bb91a10fd19008
1187 name: '{#BOARDNAME} slot {#SLOT} DSLA: маска аварии'
1188 type: DEPENDENT
1189 key: 'dsla.mask[{#SLOT}]'
1190 trends: '0'
1191 preprocessing:
1192 - type: JSONPATH
1193 parameters:
1194 - '$[2]'
1195 master_item:
1196 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}, format=array]'
1197 tags:
1198 - tag: Application
1199 value: DSL
1200 - tag: Board
1201 value: '{#BOARDNAME}'
1202 - uuid: e8f08350234646cc85bbe67145a8557a
1203 name: '{#BOARDNAME} slot {#SLOT} DSLB: маска аварии'
1204 type: DEPENDENT
1205 key: 'dslb.mask[{#SLOT}]'
1206 trends: '0'
1207 preprocessing:
1208 - type: JSONPATH
1209 parameters:
1210 - '$[9]'
1211 master_item:
1212 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}, format=array]'
1213 tags:
1214 - tag: Application
1215 value: DSL
1216 - tag: Board
1217 value: '{#BOARDNAME}'
1218 - uuid: 00d7ebf4ce5041158ac97e060c9944be
1219 name: '{#BOARDNAME} slot {#SLOT} E1: маска аварии'
1220 type: DEPENDENT
1221 key: 'e1.mask[{#SLOT}]'
1222 trends: '0'
1223 preprocessing:
1224 - type: JSONPATH
1225 parameters:
1226 - '$[16]'
1227 master_item:
1228 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}, format=array]'
1229 tags:
1230 - tag: Application
1231 value: E1
1232 - tag: Board
1233 value: '{#BOARDNAME}'
1234 - uuid: bc3f4c7a2ef6444aad328fde7d3b83c0
1235 name: '{#BOARDNAME} slot {#SLOT}: config'
1236 type: ZABBIX_ACTIVE
1237 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}, format=array]'
1238 delay: 10m
1239 value_type: TEXT
1240 tags:
1241 - tag: Application
1242 value: DSL
1243 - tag: Board
1244 value: '{#BOARDNAME}'
1245 - uuid: 64a6626b2deb4ec4bf88a912158a0789
1246 name: '{#BOARDNAME} slot {#SLOT} DSLA: LOS'
1247 type: ZABBIX_ACTIVE
1248 key: 'MCv2.getvar[{#SLOT}, .11.0, name={#BOARDNAME}]'
1249 delay: 10m
1250 trends: '0'
1251 valuemap:
1252 name: 'MC04 board status'
1253 tags:
1254 - tag: Application
1255 value: DSL
1256 - tag: Board
1257 value: '{#BOARDNAME}'
1258 - uuid: 0ae39be3263846da9d11e69e723b0787
1259 name: '{#BOARDNAME} slot {#SLOT} DSLB: LOS'
1260 type: ZABBIX_ACTIVE
1261 key: 'MCv2.getvar[{#SLOT}, .12.0, name={#BOARDNAME}]'
1262 delay: 10m
1263 trends: '0'
1264 valuemap:
1265 name: 'MC04 board status'
1266 tags:
1267 - tag: Application
1268 value: DSL
1269 - tag: Board
1270 value: '{#BOARDNAME}'
1271 - uuid: 586ce110fa2d4766bd3e73d1cd57c5d2
1272 name: '{#BOARDNAME} slot {#SLOT} DSLA: remote alarm'
1273 type: ZABBIX_ACTIVE
1274 key: 'MCv2.getvar[{#SLOT}, .13.0, name={#BOARDNAME}]'
1275 delay: 10m
1276 trends: '0'
1277 valuemap:
1278 name: 'MC04 board status'
1279 tags:
1280 - tag: Application
1281 value: DSL
1282 - tag: Board
1283 value: '{#BOARDNAME}'
1284 - uuid: b55ce1f537ba4b569b1322d1a8a94dee
1285 name: '{#BOARDNAME} slot {#SLOT} DSLB: remote alarm'
1286 type: ZABBIX_ACTIVE
1287 key: 'MCv2.getvar[{#SLOT}, .14.0, name={#BOARDNAME}]'
1288 delay: 10m
1289 trends: '0'
1290 valuemap:
1291 name: 'MC04 board status'
1292 tags:
1293 - tag: Application
1294 value: DSL
1295 - tag: Board
1296 value: '{#BOARDNAME}'
1297 - uuid: a4c5131445f54806a4f23d8db9570fcd
1298 name: '{#BOARDNAME} slot {#SLOT} E1: LOS'
1299 type: ZABBIX_ACTIVE
1300 key: 'MCv2.getvar[{#SLOT}, .15.0, name={#BOARDNAME}]'
1301 delay: 10m
1302 trends: '0'
1303 valuemap:
1304 name: 'MC04 board status'
1305 tags:
1306 - tag: Application
1307 value: E1
1308 - tag: Board
1309 value: '{#BOARDNAME}'
1310 - uuid: 28d2a75c8afd48d185166682e2ae171b
1311 name: '{#BOARDNAME} slot {#SLOT}: вскрытие НРП'
1312 type: ZABBIX_ACTIVE
1313 key: 'MCv2.getvar[{#SLOT}, .16.0, name={#BOARDNAME}]'
1314 delay: 10m
1315 trends: '0'
1316 valuemap:
1317 name: 'MC04 board status'
1318 tags:
1319 - tag: Application
1320 value: DSL
1321 - tag: Board
1322 value: '{#BOARDNAME}'
1323 trigger_prototypes:
1324 - uuid: 8437ab0f225c4d9bbc3dd71e4c453463
1325 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .16.0, name={#BOARDNAME}])>0'
1326 name: '{#BOARDNAME} slot {#SLOT}: вскрытие НРП'
1327 priority: HIGH
1328 manual_close: 'YES'
1329 trigger_prototypes:
1330 - uuid: 33d018474ff7495e898289b4f50b549b
1331 expression: 'last(/Template MC04-DSL-3U/dsla.mask[{#SLOT}])=0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .11.0, name={#BOARDNAME}])>0'
1332 name: '{#BOARDNAME} slot {#SLOT} DSLA: LOS'
1333 priority: HIGH
1334 manual_close: 'YES'
1335 tags:
1336 - tag: Application
1337 value: DSL
1338 - tag: Board
1339 value: '{#BOARDNAME}'
1340 - uuid: 6d7e7e38ff8a4210a74d325ba3b5e242
1341 expression: 'last(/Template MC04-DSL-3U/dsla.mask[{#SLOT}])=0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.0, name={#BOARDNAME}])>0'
1342 name: '{#BOARDNAME} slot {#SLOT} DSLA: Авария удаленной стороны'
1343 priority: WARNING
1344 manual_close: 'YES'
1345 tags:
1346 - tag: Application
1347 value: DSL
1348 - tag: Board
1349 value: '{#BOARDNAME}'
1350 - uuid: f326a22e21bf4ab5ad4ea792049c180e
1351 expression: 'last(/Template MC04-DSL-3U/dslb.mask[{#SLOT}])=0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .12.0, name={#BOARDNAME}])>0'
1352 name: '{#BOARDNAME} slot {#SLOT} DSLB: LOS'
1353 priority: HIGH
1354 manual_close: 'YES'
1355 tags:
1356 - tag: Application
1357 value: DSL
1358 - tag: Board
1359 value: '{#BOARDNAME}'
1360 - uuid: 025e5c4b559449a39697fc9c7692ee46
1361 expression: 'last(/Template MC04-DSL-3U/dslb.mask[{#SLOT}])=0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .14.0, name={#BOARDNAME}])>0'
1362 name: '{#BOARDNAME} slot {#SLOT} DSLB: Авария удаленной стороны'
1363 priority: WARNING
1364 manual_close: 'YES'
1365 tags:
1366 - tag: Application
1367 value: DSL
1368 - tag: Board
1369 value: '{#BOARDNAME}'
1370 - uuid: 96aab46caec14b5bb07a09b7ba373dd7
1371 expression: 'last(/Template MC04-DSL-3U/e1.mask[{#SLOT}])=0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .15.0, name={#BOARDNAME}])>0'
1372 name: '{#BOARDNAME} slot {#SLOT} E1: LOS'
1373 priority: HIGH
1374 manual_close: 'YES'
1375 tags:
1376 - tag: Application
1377 value: E1
1378 - tag: Board
1379 value: '{#BOARDNAME}'
1380 master_item:
1381 key: 'MCv2.boardlist[]'
1382 - uuid: ca2ce2db0fa54c34985be63ba56f9e5c
1383 name: SW-01
1384 type: DEPENDENT
1385 key: boards-SW-01
1386 filter:
1387 conditions:
1388 - macro: '{#BOARDTYPE}'
1389 value: ^1$
1390 enabled_lifetime_type: DISABLE_AFTER
1391 enabled_lifetime: 1h
1392 item_prototypes:
1393 - uuid: 03b3ec2d7afe4384984fe3dcace964f8
1394 name: '{#BOARDNAME} slot {#SLOT}: CPU idle time'
1395 type: DEPENDENT
1396 key: 'cpu.idle[{#SLOT}]'
1397 value_type: FLOAT
1398 units: '%'
1399 preprocessing:
1400 - type: JSONPATH
1401 parameters:
1402 - '$[3]'
1403 - type: CHANGE_PER_SECOND
1404 master_item:
1405 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1406 tags:
1407 - tag: Application
1408 value: CPU
1409 - tag: Board
1410 value: '{#BOARDNAME}'
1411 - uuid: f0bb814a9ac34ccfa46f6eb0ac181459
1412 name: '{#BOARDNAME} slot {#SLOT}: CPU iowait time'
1413 type: DEPENDENT
1414 key: 'cpu.iowait[{#SLOT}]'
1415 value_type: FLOAT
1416 units: '%'
1417 preprocessing:
1418 - type: JSONPATH
1419 parameters:
1420 - '$[4]'
1421 - type: CHANGE_PER_SECOND
1422 master_item:
1423 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1424 tags:
1425 - tag: Application
1426 value: CPU
1427 - tag: Board
1428 value: '{#BOARDNAME}'
1429 - uuid: 9ff9cad1569b4b07a12df1816dc85bef
1430 name: '{#BOARDNAME} slot {#SLOT}: CPU irq time'
1431 type: DEPENDENT
1432 key: 'cpu.irq[{#SLOT}]'
1433 value_type: FLOAT
1434 units: '%'
1435 preprocessing:
1436 - type: JSONPATH
1437 parameters:
1438 - '$[5]'
1439 - type: CHANGE_PER_SECOND
1440 master_item:
1441 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1442 tags:
1443 - tag: Application
1444 value: CPU
1445 - tag: Board
1446 value: '{#BOARDNAME}'
1447 - uuid: 86eb35b5bfac4be7ad4afba45cfb6b1a
1448 name: '{#BOARDNAME} slot {#SLOT}: CPU load average 1 min'
1449 type: DEPENDENT
1450 key: 'cpu.la1[{#SLOT}]'
1451 value_type: FLOAT
1452 preprocessing:
1453 - type: JSONPATH
1454 parameters:
1455 - '$[0]'
1456 master_item:
1457 key: 'MCv2.getvar[{#SLOT}, .14.2.0, name=SW-01]'
1458 tags:
1459 - tag: Application
1460 value: CPU
1461 - tag: Board
1462 value: '{#BOARDNAME}'
1463 trigger_prototypes:
1464 - uuid: 57f7dfbe6076473bb59f6f92c40d1c05
1465 expression: 'avg(/Template MC04-DSL-3U/cpu.la1[{#SLOT}],#2)>2.5'
1466 name: 'SW-01 slot {#SLOT}: Загрузка CPU выше $1'
1467 priority: WARNING
1468 manual_close: 'YES'
1469 tags:
1470 - tag: Application
1471 value: CPU
1472 - tag: Board
1473 value: '{#BOARDNAME}'
1474 - uuid: e31fd0c8ca8047a79591fdc502a0113e
1475 name: '{#BOARDNAME} slot {#SLOT}: CPU load average 5 min'
1476 type: DEPENDENT
1477 key: 'cpu.la5[{#SLOT}]'
1478 value_type: FLOAT
1479 preprocessing:
1480 - type: JSONPATH
1481 parameters:
1482 - '$[1]'
1483 master_item:
1484 key: 'MCv2.getvar[{#SLOT}, .14.2.0, name=SW-01]'
1485 tags:
1486 - tag: Application
1487 value: CPU
1488 - tag: Board
1489 value: '{#BOARDNAME}'
1490 - uuid: 843b6407959847ffa4d33c27e82a8d81
1491 name: '{#BOARDNAME} slot {#SLOT}: CPU load average 15 min'
1492 type: DEPENDENT
1493 key: 'cpu.la15[{#SLOT}]'
1494 value_type: FLOAT
1495 preprocessing:
1496 - type: JSONPATH
1497 parameters:
1498 - '$[2]'
1499 master_item:
1500 key: 'MCv2.getvar[{#SLOT}, .14.2.0, name=SW-01]'
1501 tags:
1502 - tag: Application
1503 value: CPU
1504 - tag: Board
1505 value: '{#BOARDNAME}'
1506 - uuid: c46291397a214c4f872b8cc7445a08bb
1507 name: '{#BOARDNAME} slot {#SLOT}: CPU nice time'
1508 type: DEPENDENT
1509 key: 'cpu.nice[{#SLOT}]'
1510 value_type: FLOAT
1511 units: '%'
1512 preprocessing:
1513 - type: JSONPATH
1514 parameters:
1515 - '$[1]'
1516 - type: CHANGE_PER_SECOND
1517 master_item:
1518 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1519 tags:
1520 - tag: Application
1521 value: CPU
1522 - tag: Board
1523 value: '{#BOARDNAME}'
1524 - uuid: 55d1c7aa810f48e8bfc15517dc9e99ca
1525 name: '{#BOARDNAME} slot {#SLOT}: CPU softirq time'
1526 type: DEPENDENT
1527 key: 'cpu.softirq[{#SLOT}]'
1528 value_type: FLOAT
1529 units: '%'
1530 preprocessing:
1531 - type: JSONPATH
1532 parameters:
1533 - '$[6]'
1534 - type: CHANGE_PER_SECOND
1535 master_item:
1536 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1537 tags:
1538 - tag: Application
1539 value: CPU
1540 - tag: Board
1541 value: '{#BOARDNAME}'
1542 - uuid: e4ba16ad9bfc4dbd937c7b12b2bcd593
1543 name: '{#BOARDNAME} slot {#SLOT}: CPU system time'
1544 type: DEPENDENT
1545 key: 'cpu.system[{#SLOT}]'
1546 value_type: FLOAT
1547 units: '%'
1548 preprocessing:
1549 - type: JSONPATH
1550 parameters:
1551 - '$[2]'
1552 - type: CHANGE_PER_SECOND
1553 master_item:
1554 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1555 tags:
1556 - tag: Application
1557 value: CPU
1558 - tag: Board
1559 value: '{#BOARDNAME}'
1560 - uuid: 95690000a7ff4a6a8615637416d479ff
1561 name: '{#BOARDNAME} slot {#SLOT}: CPU user time'
1562 type: DEPENDENT
1563 key: 'cpu.user[{#SLOT}]'
1564 value_type: FLOAT
1565 units: '%'
1566 preprocessing:
1567 - type: JSONPATH
1568 parameters:
1569 - '$[0]'
1570 - type: CHANGE_PER_SECOND
1571 master_item:
1572 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1573 tags:
1574 - tag: Application
1575 value: CPU
1576 - tag: Board
1577 value: '{#BOARDNAME}'
1578 - uuid: 71c6de2564fc4feb9bacda84c3741bb8
1579 name: '{#BOARDNAME} slot {#SLOT} Eth port CPU: Traffic Rx'
1580 type: DEPENDENT
1581 key: 'ethCPU-octrx[{#SLOT}]'
1582 value_type: FLOAT
1583 units: pkt/s
1584 preprocessing:
1585 - type: JSONPATH
1586 parameters:
1587 - '$[3]'
1588 - type: CHANGE_PER_SECOND
1589 - type: MULTIPLIER
1590 parameters:
1591 - '8'
1592 master_item:
1593 key: 'MCv2.getvar[{#SLOT}, .13.0, name=SW-01]'
1594 tags:
1595 - tag: Application
1596 value: ethernet
1597 - tag: Board
1598 value: '{#BOARDNAME}'
1599 - uuid: d420f1b0aec64984ae6bc6086678382e
1600 name: '{#BOARDNAME} slot {#SLOT} Eth port CPU: Traffic Tx'
1601 type: DEPENDENT
1602 key: 'ethCPU-octtx[{#SLOT}]'
1603 value_type: FLOAT
1604 units: pkt/s
1605 preprocessing:
1606 - type: JSONPATH
1607 parameters:
1608 - '$[2]'
1609 - type: CHANGE_PER_SECOND
1610 - type: MULTIPLIER
1611 parameters:
1612 - '8'
1613 master_item:
1614 key: 'MCv2.getvar[{#SLOT}, .13.0, name=SW-01]'
1615 tags:
1616 - tag: Application
1617 value: ethernet
1618 - tag: Board
1619 value: '{#BOARDNAME}'
1620 - uuid: 912c97e7dde845318de838d577f3176c
1621 name: '{#BOARDNAME} slot {#SLOT} Eth port CPU: Packets Rx'
1622 type: DEPENDENT
1623 key: 'ethCPU-pktrx[{#SLOT}]'
1624 value_type: FLOAT
1625 units: pkt/s
1626 preprocessing:
1627 - type: JSONPATH
1628 parameters:
1629 - '$[1]'
1630 - type: CHANGE_PER_SECOND
1631 - type: MULTIPLIER
1632 parameters:
1633 - '8'
1634 master_item:
1635 key: 'MCv2.getvar[{#SLOT}, .13.0, name=SW-01]'
1636 tags:
1637 - tag: Application
1638 value: ethernet
1639 - tag: Board
1640 value: '{#BOARDNAME}'
1641 - uuid: 3ec77c5f9ccd4e2a8d9445ef2a99c76e
1642 name: '{#BOARDNAME} slot {#SLOT} Eth port CPU: Packets Tx'
1643 type: DEPENDENT
1644 key: 'ethCPU-pkttx[{#SLOT}]'
1645 value_type: FLOAT
1646 units: pkt/s
1647 preprocessing:
1648 - type: JSONPATH
1649 parameters:
1650 - '$[0]'
1651 - type: CHANGE_PER_SECOND
1652 - type: MULTIPLIER
1653 parameters:
1654 - '8'
1655 master_item:
1656 key: 'MCv2.getvar[{#SLOT}, .13.0, name=SW-01]'
1657 tags:
1658 - tag: Application
1659 value: ethernet
1660 - tag: Board
1661 value: '{#BOARDNAME}'
1662 - uuid: a387e33eea104616ad39408cc5a4afd5
1663 name: '{#BOARDNAME} slot {#SLOT}: SFP data'
1664 type: ZABBIX_ACTIVE
1665 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
1666 value_type: TEXT
1667 description: 'Идентификация и состояние модуля SFP'
1668 preprocessing:
1669 - type: JAVASCRIPT
1670 parameters:
1671 - |
1672 if(value.length < 2 || value[0] != '[' || value[value.length - 1] != ']') throw 'Invalid SFP data';
1673 var v = eval(value);
1674 var sum = 0;
1675 for(var i = 0; i < 63; i++) sum += v[i];
1676 if((sum & 255) != v[63]) throw 'Incorrect base block checksum';
1677 return value;
1678 tags:
1679 - tag: Application
1680 value: SFP
1681 - tag: Board
1682 value: '{#BOARDNAME}'
1683 - uuid: b44837c1c242433dbf8412bef19c82be
1684 name: '{#BOARDNAME} slot {#SLOT}: isMaster'
1685 type: ZABBIX_ACTIVE
1686 key: 'MCv2.getvar[{#SLOT}, .10.0, name=SW-01]'
1687 delay: 10m
1688 trends: '0'
1689 trigger_prototypes:
1690 - uuid: f284f8bd8940401a885db7014b8690ff
1691 expression: 'min(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.0, name=SW-01],5m)>0 and {#SLOT}=10'
1692 name: 'SW-01 slot {#SLOT}: плата в активном режиме'
1693 priority: HIGH
1694 - uuid: d204c59bf091415896be40eb86766953
1695 expression: 'max(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.0, name=SW-01],5m)=0 and {#SLOT}=9'
1696 name: 'SW-01 slot {#SLOT}: плата не в активном режиме'
1697 priority: HIGH
1698 - uuid: ad6e37af569043c5ac3462059ca61686
1699 name: '{#BOARDNAME} slot {#SLOT} Eth port CPU: EthStat'
1700 type: ZABBIX_ACTIVE
1701 key: 'MCv2.getvar[{#SLOT}, .13.0, name=SW-01]'
1702 value_type: TEXT
1703 tags:
1704 - tag: Application
1705 value: ethernet
1706 - tag: Board
1707 value: '{#BOARDNAME}'
1708 - uuid: cbfca98a67244f029df6e8376b16bbc0
1709 name: '{#BOARDNAME} slot {#SLOT}: CPU usage'
1710 type: ZABBIX_ACTIVE
1711 key: 'MCv2.getvar[{#SLOT}, .14.1.0, name=SW-01]'
1712 value_type: TEXT
1713 tags:
1714 - tag: Application
1715 value: CPU
1716 - tag: Board
1717 value: '{#BOARDNAME}'
1718 - uuid: c4f810a94ae544a99a466c16883e0621
1719 name: '{#BOARDNAME} slot {#SLOT}: CPU load average'
1720 type: ZABBIX_ACTIVE
1721 key: 'MCv2.getvar[{#SLOT}, .14.2.0, name=SW-01]'
1722 value_type: TEXT
1723 tags:
1724 - tag: Application
1725 value: CPU
1726 - tag: Board
1727 value: '{#BOARDNAME}'
1728 - uuid: a8dd6c552c1e470c8a49f1a93d13c733
1729 name: '{#BOARDNAME} slot {#SLOT}: Memory usage'
1730 type: ZABBIX_ACTIVE
1731 key: 'MCv2.getvar[{#SLOT}, .14.3.0, name=SW-01]'
1732 value_type: TEXT
1733 tags:
1734 - tag: Application
1735 value: Memory
1736 - tag: Board
1737 value: '{#BOARDNAME}'
1738 - uuid: 7b84dcc46f1d4fae9efbe235fdc39101
1739 name: '{#BOARDNAME} slot {#SLOT}: SSL'
1740 type: ZABBIX_ACTIVE
1741 key: 'MCv2.getvar[{#SLOT}, .20.0, name=SW-01]'
1742 delay: 10m
1743 trigger_prototypes:
1744 - uuid: 8f1c6e3192424e709c530c74a730f980
1745 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .20.0, name=SW-01])=1'
1746 name: 'SW-01 slot {#SLOT}: сертификат SSL протух'
1747 priority: HIGH
1748 - uuid: af9ba467a8e74d5f8e97680f68e9d32e
1749 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .20.0, name=SW-01])=2'
1750 name: 'SW-01 slot {#SLOT}: сертификат SSL скоро протухнет'
1751 priority: WARNING
1752 - uuid: 8df558b3bd4b4130ba822b5964c00fe1
1753 name: '{#BOARDNAME} slot {#SLOT}: Memory cached'
1754 type: DEPENDENT
1755 key: 'mem.cached[{#SLOT}]'
1756 units: B
1757 preprocessing:
1758 - type: JSONPATH
1759 parameters:
1760 - '$[3]'
1761 - type: MULTIPLIER
1762 parameters:
1763 - '1024'
1764 master_item:
1765 key: 'MCv2.getvar[{#SLOT}, .14.3.0, name=SW-01]'
1766 tags:
1767 - tag: Application
1768 value: Memory
1769 - tag: Board
1770 value: '{#BOARDNAME}'
1771 - uuid: 59473046c5e942708137cb84166f2f30
1772 name: '{#BOARDNAME} slot {#SLOT}: Memory free'
1773 type: DEPENDENT
1774 key: 'mem.free[{#SLOT}]'
1775 units: B
1776 preprocessing:
1777 - type: JSONPATH
1778 parameters:
1779 - '$[1]'
1780 - type: MULTIPLIER
1781 parameters:
1782 - '1024'
1783 master_item:
1784 key: 'MCv2.getvar[{#SLOT}, .14.3.0, name=SW-01]'
1785 tags:
1786 - tag: Application
1787 value: Memory
1788 - tag: Board
1789 value: '{#BOARDNAME}'
1790 - uuid: dc174ae3f47b48f395b0261b9e4466e7
1791 name: '{#BOARDNAME} slot {#SLOT}: Memory total'
1792 type: DEPENDENT
1793 key: 'mem.total[{#SLOT}]'
1794 units: B
1795 preprocessing:
1796 - type: JSONPATH
1797 parameters:
1798 - '$[0]'
1799 - type: MULTIPLIER
1800 parameters:
1801 - '1024'
1802 master_item:
1803 key: 'MCv2.getvar[{#SLOT}, .14.3.0, name=SW-01]'
1804 tags:
1805 - tag: Application
1806 value: Memory
1807 - tag: Board
1808 value: '{#BOARDNAME}'
1809 - uuid: b189d58834494b8a8e79ce068f2cccd0
1810 name: '{#BOARDNAME} slot {#SLOT}: Memory used'
1811 type: CALCULATED
1812 key: 'mem.used[{#SLOT}]'
1813 units: B
1814 params: 'last(//mem.total[{#SLOT}])-last(//mem.free[{#SLOT}])-last(//mem.cached[{#SLOT}])'
1815 tags:
1816 - tag: Application
1817 value: Memory
1818 - tag: Board
1819 value: '{#BOARDNAME}'
1820 - uuid: 955b1a1b9d3a4058b44f46892cc87b07
1821 name: '{#BOARDNAME} slot {#SLOT}: SFP alarm Flags'
1822 type: DEPENDENT
1823 key: 'SFPalarms[{#SLOT}]'
1824 description: 'Флаги аварий модуля SFP'
1825 preprocessing:
1826 - type: JAVASCRIPT
1827 parameters:
1828 - |
1829 var v = eval(value);
1830 return (v[368] << 8) | v[369];
1831 master_item:
1832 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
1833 tags:
1834 - tag: Application
1835 value: SFP
1836 - tag: Board
1837 value: '{#BOARDNAME}'
1838 trigger_prototypes:
1839 - uuid: f7c42cef375346349e4be06f01c724df
1840 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),32768)> 0'
1841 name: 'SW-01 slot {#SLOT}: Высокая температура SFP'
1842 priority: HIGH
1843 manual_close: 'YES'
1844 tags:
1845 - tag: Application
1846 value: SFP
1847 - tag: Board
1848 value: '{#BOARDNAME}'
1849 - uuid: 1cf4dacefecb48fca913d3ee3e8dd9ea
1850 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),2048)> 0'
1851 name: 'SW-01 slot {#SLOT}: Высокий ток накачки SFP'
1852 priority: HIGH
1853 manual_close: 'YES'
1854 tags:
1855 - tag: Application
1856 value: SFP
1857 - tag: Board
1858 value: '{#BOARDNAME}'
1859 - uuid: c51da8749ff9421fa5fa8646b56743e3
1860 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),128)> 0'
1861 name: 'SW-01 slot {#SLOT}: Высокий уровень входного сигнала SFP'
1862 priority: HIGH
1863 manual_close: 'YES'
1864 tags:
1865 - tag: Application
1866 value: SFP
1867 - tag: Board
1868 value: '{#BOARDNAME}'
1869 - uuid: 247eb057bb4c48859064902f6cc488d9
1870 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),512)> 0'
1871 name: 'SW-01 slot {#SLOT}: Высокий уровень передачи SFP'
1872 priority: HIGH
1873 manual_close: 'YES'
1874 tags:
1875 - tag: Application
1876 value: SFP
1877 - tag: Board
1878 value: '{#BOARDNAME}'
1879 - uuid: 7aa03c1a7112489c9e6eb13087a53487
1880 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),8192)> 0'
1881 name: 'SW-01 slot {#SLOT}: Высокое напряжение питания SFP'
1882 priority: HIGH
1883 manual_close: 'YES'
1884 tags:
1885 - tag: Application
1886 value: SFP
1887 - tag: Board
1888 value: '{#BOARDNAME}'
1889 - uuid: 8cd8efd6fa7040e1b7ab91de57de8788
1890 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),16384)> 0'
1891 name: 'SW-01 slot {#SLOT}: Низкая температура SFP'
1892 priority: HIGH
1893 manual_close: 'YES'
1894 tags:
1895 - tag: Application
1896 value: SFP
1897 - tag: Board
1898 value: '{#BOARDNAME}'
1899 - uuid: d0f051c282e44503a2210520b065129c
1900 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),1024)> 0'
1901 name: 'SW-01 slot {#SLOT}: Низкий ток накачки SFP'
1902 priority: HIGH
1903 manual_close: 'YES'
1904 tags:
1905 - tag: Application
1906 value: SFP
1907 - tag: Board
1908 value: '{#BOARDNAME}'
1909 - uuid: 0bc2e559926a466ca7c1f47142a2d147
1910 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),64)> 0'
1911 name: 'SW-01 slot {#SLOT}: Низкий уровень входного сигнала SFP'
1912 priority: HIGH
1913 manual_close: 'YES'
1914 tags:
1915 - tag: Application
1916 value: SFP
1917 - tag: Board
1918 value: '{#BOARDNAME}'
1919 - uuid: f56362c9b11e4da496bad5fb4e19c760
1920 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),256)> 0'
1921 name: 'SW-01 slot {#SLOT}: Низкий уровень передачи SFP'
1922 priority: HIGH
1923 manual_close: 'YES'
1924 tags:
1925 - tag: Application
1926 value: SFP
1927 - tag: Board
1928 value: '{#BOARDNAME}'
1929 - uuid: 928e8419705847738385afb4cb889c70
1930 expression: 'bitand(last(/Template MC04-DSL-3U/SFPalarms[{#SLOT}]),4096)> 0'
1931 name: 'SW-01 slot {#SLOT}: Низкое напряжение питания SFP'
1932 priority: HIGH
1933 manual_close: 'YES'
1934 tags:
1935 - tag: Application
1936 value: SFP
1937 - tag: Board
1938 value: '{#BOARDNAME}'
1939 - uuid: 11b66defdf4e45f093f99ba666c72c1e
1940 name: '{#BOARDNAME} slot {#SLOT}: SFP RX power'
1941 type: DEPENDENT
1942 key: 'SFPrxpower[{#SLOT}]'
1943 value_type: FLOAT
1944 units: mW
1945 description: 'Мощность сигнала на входе приемника'
1946 preprocessing:
1947 - type: JAVASCRIPT
1948 parameters:
1949 - |
1950 var v = eval(value);
1951 if(v.length < 512) throw 'No diagnostic data';
1952 var buffer = new ArrayBuffer(20);
1953 var view = new DataView(buffer);
1954 for(var i = 0, j = 312; i < 20; i++, j++)
1955 view.setUint8(i, v[j]);
1956 var rxpwr = v[360] * 256 + v[361];
1957 rxpwr = Math.pow(rxpwr,4) * view.getFloat32(0, false) +
1958 Math.pow(rxpwr,3) * view.getFloat32(4, false) +
1959 Math.pow(rxpwr,2) * view.getFloat32(8, false) +
1960 rxpwr * view.getFloat32(12, false) +
1961 view.getFloat32(16, false);
1962 return rxpwr / 10000;
1963 master_item:
1964 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
1965 tags:
1966 - tag: Application
1967 value: SFP
1968 - tag: Board
1969 value: '{#BOARDNAME}'
1970 - uuid: 3aa0f4a8f9c04a49b189265dd5fa8b2b
1971 name: '{#BOARDNAME} slot {#SLOT}: SFP temperature'
1972 type: DEPENDENT
1973 key: 'SFPtemperature[{#SLOT}]'
1974 value_type: FLOAT
1975 units: C'
1976 description: 'Температура модуля'
1977 preprocessing:
1978 - type: JAVASCRIPT
1979 parameters:
1980 - |
1981 var v = eval(value);
1982 if(v.length < 512) throw 'No diagnostic data';
1983 var x = v[352] * 256 + v[353];
1984 if(x & 0x8000) x -= 65536;
1985 var Ts = v[340] + v[341] / 256;
1986 var To = v[342] * 256 + v[343];
1987 if(To & 0x8000) To -= 65536;
1988 x = x * Ts + To;
1989 return x / 256;
1990 master_item:
1991 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
1992 tags:
1993 - tag: Application
1994 value: SFP
1995 - tag: Board
1996 value: '{#BOARDNAME}'
1997 - uuid: d92d8623b7034c9888519fcfa9175c33
1998 name: '{#BOARDNAME} slot {#SLOT}: SFP TX bias'
1999 type: DEPENDENT
2000 key: 'SFPtxbias[{#SLOT}]'
2001 value_type: FLOAT
2002 units: mA
2003 description: 'Ток накачки лазера'
2004 preprocessing:
2005 - type: JAVASCRIPT
2006 parameters:
2007 - |
2008 var v = eval(value);
2009 if(v.length < 512) throw 'No diagnostic data';
2010 var x = v[356] * 256 + v[357];
2011 var Is = v[332] + v[333] / 256;
2012 var Io = v[334] * 256 + v[335];
2013 if(Io & 0x8000) Io -= 65536;
2014 x = x * Is + Io;
2015 return x / 500;
2016 master_item:
2017 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
2018 tags:
2019 - tag: Application
2020 value: SFP
2021 - tag: Board
2022 value: '{#BOARDNAME}'
2023 - uuid: acb07988182d43adbb976a779ffd2569
2024 name: '{#BOARDNAME} slot {#SLOT}: SFP TX power'
2025 type: DEPENDENT
2026 key: 'SFPtxpower[{#SLOT}]'
2027 value_type: FLOAT
2028 units: mW
2029 description: 'Мощность сигнала на выходе передатчика'
2030 preprocessing:
2031 - type: JAVASCRIPT
2032 parameters:
2033 - |
2034 var v = eval(value);
2035 if(v.length < 512) throw 'No diagnostic data';
2036 var x = v[358] * 256 + v[359];
2037 var Ts = v[336] + v[337] / 256;
2038 var To = v[338] * 256 + v[339];
2039 if(To & 0x8000) To -= 65536;
2040 x = x * Ts + To;
2041 return x / 10000;
2042 master_item:
2043 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
2044 tags:
2045 - tag: Application
2046 value: SFP
2047 - tag: Board
2048 value: '{#BOARDNAME}'
2049 - uuid: 7faeae3000f4411397b2601e7698367e
2050 name: '{#BOARDNAME} slot {#SLOT}: SFP Warning Flags'
2051 type: DEPENDENT
2052 key: 'SFPwarnings[{#SLOT}]'
2053 preprocessing:
2054 - type: JAVASCRIPT
2055 parameters:
2056 - |
2057 var v = eval(value);
2058 return (v[372] << 8) | v[373];
2059 master_item:
2060 key: 'MCv2.getvar[{#SLOT}, .9.0, name=SW-01, format=array]'
2061 tags:
2062 - tag: Application
2063 value: SFP
2064 - tag: Board
2065 value: '{#BOARDNAME}'
2066 trigger_prototypes:
2067 - uuid: 48f233eb6c8e413e88b672774b04881c
2068 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),32768)> 0'
2069 name: 'SW-01 slot {#SLOT}: Высокая температура SFP'
2070 priority: WARNING
2071 manual_close: 'YES'
2072 tags:
2073 - tag: Application
2074 value: SFP
2075 - tag: Board
2076 value: '{#BOARDNAME}'
2077 - uuid: 445d8224e7384d89ac23d7ac36ac942d
2078 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),2048)> 0'
2079 name: 'SW-01 slot {#SLOT}: Высокий ток накачки SFP'
2080 priority: WARNING
2081 manual_close: 'YES'
2082 tags:
2083 - tag: Application
2084 value: SFP
2085 - tag: Board
2086 value: '{#BOARDNAME}'
2087 - uuid: 7784740f49fb4ed98af22c1f51eccd3a
2088 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),128)> 0'
2089 name: 'SW-01 slot {#SLOT}: Высокий уровень входного сигнала SFP'
2090 priority: WARNING
2091 manual_close: 'YES'
2092 tags:
2093 - tag: Application
2094 value: SFP
2095 - tag: Board
2096 value: '{#BOARDNAME}'
2097 - uuid: addddb1eef1040ebac1105ece3044b8c
2098 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),512)> 0'
2099 name: 'SW-01 slot {#SLOT}: Высокий уровень передачи SFP'
2100 priority: WARNING
2101 manual_close: 'YES'
2102 tags:
2103 - tag: Application
2104 value: SFP
2105 - tag: Board
2106 value: '{#BOARDNAME}'
2107 - uuid: 2f99d8d4076b4fea9a66e9f495d0e461
2108 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),8192)> 0'
2109 name: 'SW-01 slot {#SLOT}: Высокое напряжение питания SFP'
2110 priority: WARNING
2111 manual_close: 'YES'
2112 tags:
2113 - tag: Application
2114 value: SFP
2115 - tag: Board
2116 value: '{#BOARDNAME}'
2117 - uuid: 960a690a10124be7a5454edf8d57070f
2118 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),16384)> 0'
2119 name: 'SW-01 slot {#SLOT}: Низкая температура SFP'
2120 priority: WARNING
2121 manual_close: 'YES'
2122 tags:
2123 - tag: Application
2124 value: SFP
2125 - tag: Board
2126 value: '{#BOARDNAME}'
2127 - uuid: b6019a8288644be289d623608226ea8e
2128 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),1024)> 0'
2129 name: 'SW-01 slot {#SLOT}: Низкий ток накачки SFP'
2130 priority: WARNING
2131 manual_close: 'YES'
2132 tags:
2133 - tag: Application
2134 value: SFP
2135 - tag: Board
2136 value: '{#BOARDNAME}'
2137 - uuid: a4d7f7765c854a6a9361d6fe953bb804
2138 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),64)> 0'
2139 name: 'SW-01 slot {#SLOT}: Низкий уровень входного сигнала SFP'
2140 priority: WARNING
2141 manual_close: 'YES'
2142 tags:
2143 - tag: Application
2144 value: SFP
2145 - tag: Board
2146 value: '{#BOARDNAME}'
2147 - uuid: 3fe7492ccdd342fea94ed5d508c7dc84
2148 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),256)> 0'
2149 name: 'SW-01 slot {#SLOT}: Низкий уровень передачи SFP'
2150 priority: WARNING
2151 manual_close: 'YES'
2152 tags:
2153 - tag: Application
2154 value: SFP
2155 - tag: Board
2156 value: '{#BOARDNAME}'
2157 - uuid: aafe0016671244e583829cb6faba44e5
2158 expression: 'bitand(last(/Template MC04-DSL-3U/SFPwarnings[{#SLOT}]),4096)> 0'
2159 name: 'SW-01 slot {#SLOT}: Низкое напряжение питания SFP'
2160 priority: WARNING
2161 manual_close: 'YES'
2162 tags:
2163 - tag: Application
2164 value: SFP
2165 - tag: Board
2166 value: '{#BOARDNAME}'
2167 master_item:
2168 key: 'MCv2.boardlist[]'
2169 - uuid: 7958dc66200d4434abe10d4527d2b142
2170 name: VE-01/VE-02
2171 type: DEPENDENT
2172 key: boards-VE-01
2173 filter:
2174 conditions:
2175 - macro: '{#BOARDTYPE}'
2176 value: ^(20|37)$
2177 item_prototypes:
2178 - uuid: 822b11ae93c34bd7bfad9bbc82adcf7b
2179 name: '{#BOARDNAME} slot {#SLOT}: Channel mask'
2180 type: ZABBIX_ACTIVE
2181 key: 'MCv2.getvar[{#SLOT}, .9.0, name={#BOARDNAME},format=array]'
2182 delay: 10m
2183 history: '0'
2184 value_type: TEXT
2185 tags:
2186 - tag: Board
2187 value: '{#BOARDNAME}'
2188 - uuid: 99c79b8a9fe94ebdb68dca74551d1a9f
2189 name: '{#BOARDNAME} slot {#SLOT}: Загрузка'
2190 type: ZABBIX_ACTIVE
2191 key: 'MCv2.getvar[{#SLOT}, .19.0,name={#BOARDNAME}]'
2192 units: '%'
2193 tags:
2194 - tag: Board
2195 value: '{#BOARDNAME}'
2196 - uuid: 509d629d569e41bc96eb5e4101f6e9bf
2197 name: '{#BOARDNAME} slot {#SLOT}: Активность'
2198 type: ZABBIX_ACTIVE
2199 key: 'MCv2.getvar[{#SLOT}, .21.0,name={#BOARDNAME}]'
2200 units: '%'
2201 tags:
2202 - tag: Board
2203 value: '{#BOARDNAME}'
2204 - uuid: f10064f1d9844d419dc1430a53053771
2205 name: '{#BOARDNAME} slot {#SLOT}: LAN status bits'
2206 type: ZABBIX_ACTIVE
2207 key: 'MCv2.getvar[{#SLOT}, .30.3.1.0,name={#BOARDNAME}]'
2208 trends: '0'
2209 tags:
2210 - tag: Application
2211 value: ethernet
2212 - tag: Board
2213 value: '{#BOARDNAME}'
2214 - uuid: dcdf9d8196064b3ca65c5375915b0248
2215 name: '{#BOARDNAME} slot {#SLOT}: LAN PoE voltage'
2216 type: ZABBIX_ACTIVE
2217 key: 'MCv2.getvar[{#SLOT}, .30.4.1.0,name={#BOARDNAME}]'
2218 value_type: FLOAT
2219 units: V
2220 preprocessing:
2221 - type: MULTIPLIER
2222 parameters:
2223 - '0.00592'
2224 tags:
2225 - tag: Application
2226 value: ethernet
2227 - tag: Board
2228 value: '{#BOARDNAME}'
2229 - uuid: 09c24a98153340a7b1bbcdd20a34d192
2230 name: '{#BOARDNAME} slot {#SLOT}: LAN PoE current'
2231 type: ZABBIX_ACTIVE
2232 key: 'MCv2.getvar[{#SLOT}, .30.5.1.0,name={#BOARDNAME}]'
2233 value_type: FLOAT
2234 units: A
2235 preprocessing:
2236 - type: MULTIPLIER
2237 parameters:
2238 - '6.1035E-5'
2239 tags:
2240 - tag: Application
2241 value: ethernet
2242 - tag: Board
2243 value: '{#BOARDNAME}'
2244 - uuid: 9bd4fcbda0e24511b8698ddd70bc1af6
2245 name: '{#BOARDNAME} slot {#SLOT}: LAN link status'
2246 type: DEPENDENT
2247 key: 've02.eth0[{#SLOT}]'
2248 valuemap:
2249 name: 'VE-02 eth0 link status'
2250 preprocessing:
2251 - type: JAVASCRIPT
2252 parameters:
2253 - 'return (value >> 8) & 7;'
2254 master_item:
2255 key: 'MCv2.getvar[{#SLOT}, .30.3.1.0,name={#BOARDNAME}]'
2256 tags:
2257 - tag: Application
2258 value: ethernet
2259 - tag: Board
2260 value: '{#BOARDNAME}'
2261 - uuid: b9dd4b43b9af4fb9a605f48e38829479
2262 name: '{#BOARDNAME} slot {#SLOT}: LAN PoE status'
2263 type: DEPENDENT
2264 key: 've02.poe[{#SLOT}]'
2265 valuemap:
2266 name: 'PE-04 port status'
2267 preprocessing:
2268 - type: JAVASCRIPT
2269 parameters:
2270 - 'return value & 7;'
2271 master_item:
2272 key: 'MCv2.getvar[{#SLOT}, .30.3.1.0,name={#BOARDNAME}]'
2273 tags:
2274 - tag: Application
2275 value: ethernet
2276 - tag: Board
2277 value: '{#BOARDNAME}'
2278 master_item:
2279 key: 'MCv2.boardlist[]'
2280 - uuid: 2e505511e907450496b1c4a743e83cbe
2281 name: sensor
2282 type: DEPENDENT
2283 key: 'bs-220-sensor[{#SLOT}]'
2284 item_prototypes:
2285 - uuid: f307869feefa473fba175a39fe350100
2286 name: '{#BOARDNAME} slot {#SLOT}: датчик {#S}'
2287 type: ZABBIX_ACTIVE
2288 key: 'MCv2.getvar[{#SLOT}, .9.{#S}.1.0,name={#BOARDNAME}]'
2289 delay: 10m
2290 valuemap:
2291 name: 'MC04 board status'
2292 preprocessing:
2293 - type: DISCARD_UNCHANGED_HEARTBEAT
2294 parameters:
2295 - '3600'
2296 tags:
2297 - tag: Board
2298 value: '{#BOARDNAME}'
2299 trigger_prototypes:
2300 - uuid: 229664958f704709802ee41eda057d31
2301 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .9.{#S}.1.0,name={#BOARDNAME}])>0'
2302 name: '{#BOARDNAME} slot {#SLOT}: Датчик {#S} активен'
2303 priority: HIGH
2304 manual_close: 'YES'
2305 tags:
2306 - tag: Board
2307 value: '{#BOARDNAME}'
2308 parent_discovery_rule:
2309 key: boards-BS-220
2310 master_item:
2311 key: 'MCv2.boardlist[]'
2312 preprocessing:
2313 - type: JAVASCRIPT
2314 parameters:
2315 - 'return ''{"data":[{"{#S}":1},{"{#S}":2},{"{#S}":3},{"{#S}":4},{"{#S}":5},{"{#S}":6}]}'';'
2316 - uuid: c9fe93724fe348b3aa2d22eb3835fde4
2317 name: thermometer
2318 type: DEPENDENT
2319 key: 'bs-220-term[{#SLOT}]'
2320 item_prototypes:
2321 - uuid: c856dcf4447e49cba6eaf14e7202ed79
2322 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: температура'
2323 type: CALCULATED
2324 key: 'BS-220.temperature[{#SLOT},{#T}]'
2325 value_type: FLOAT
2326 units: C'
2327 params: 'last(//MCv2.getvar[{#SLOT}, .26.{#T}.2.0,name={#BOARDNAME}]) + (last(//MCv2.getvar[{#SLOT}, .26.{#T}.4.0,name={#BOARDNAME}])=1) * (256 - 2 * last(//MCv2.getvar[{#SLOT}, .26.{#T}.2.0,name={#BOARDNAME}]))'
2328 tags:
2329 - tag: Board
2330 value: '{#BOARDNAME}'
2331 - uuid: 63f0010c68a64b84a970cc22ea636564
2332 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: температура (raw)'
2333 type: ZABBIX_ACTIVE
2334 key: 'MCv2.getvar[{#SLOT}, .26.{#T}.2.0,name={#BOARDNAME}]'
2335 value_type: FLOAT
2336 preprocessing:
2337 - type: MULTIPLIER
2338 parameters:
2339 - '0.01'
2340 tags:
2341 - tag: Board
2342 value: '{#BOARDNAME}'
2343 - uuid: f5f2da0ec0af40f5894308180983f3e9
2344 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: знак'
2345 type: ZABBIX_ACTIVE
2346 key: 'MCv2.getvar[{#SLOT}, .26.{#T}.4.0,name={#BOARDNAME}]'
2347 tags:
2348 - tag: Board
2349 value: '{#BOARDNAME}'
2350 - uuid: 7859c8f5175349009fb462d4bdbecf8e
2351 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: нижний порог'
2352 type: ZABBIX_ACTIVE
2353 key: 'MCv2.getvar[{#SLOT}, .29.0, name={#BOARDNAME},{#T}]'
2354 delay: 10m
2355 value_type: FLOAT
2356 units: C'
2357 preprocessing:
2358 - type: MULTIPLIER
2359 parameters:
2360 - '0.01'
2361 - type: DISCARD_UNCHANGED_HEARTBEAT
2362 parameters:
2363 - '3600'
2364 tags:
2365 - tag: Board
2366 value: '{#BOARDNAME}'
2367 - uuid: 41e8111cf48d424cbc94c14d42fc931f
2368 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: верхний порог'
2369 type: ZABBIX_ACTIVE
2370 key: 'MCv2.getvar[{#SLOT}, .30.0, name={#BOARDNAME},{#T}]'
2371 delay: 10m
2372 value_type: FLOAT
2373 units: C'
2374 preprocessing:
2375 - type: MULTIPLIER
2376 parameters:
2377 - '0.01'
2378 - type: DISCARD_UNCHANGED_HEARTBEAT
2379 parameters:
2380 - '3600'
2381 tags:
2382 - tag: Board
2383 value: '{#BOARDNAME}'
2384 trigger_prototypes:
2385 - uuid: 9c9a54bf683f40feaa6c601b007c2534
2386 expression: 'last(/Template MC04-DSL-3U/BS-220.temperature[{#SLOT},{#T}])>last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .30.0, name={#BOARDNAME},{#T}])'
2387 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: Температуре выше порога'
2388 priority: WARNING
2389 manual_close: 'YES'
2390 tags:
2391 - tag: Board
2392 value: '{#BOARDNAME}'
2393 - uuid: 09d53c84fa604393b9548308079b4f13
2394 expression: 'last(/Template MC04-DSL-3U/BS-220.temperature[{#SLOT},{#T}])<last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .29.0, name={#BOARDNAME},{#T}])'
2395 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: Температуре ниже порога'
2396 priority: WARNING
2397 manual_close: 'YES'
2398 tags:
2399 - tag: Board
2400 value: '{#BOARDNAME}'
2401 parent_discovery_rule:
2402 key: boards-BS-220
2403 master_item:
2404 key: 'MCv2.boardlist[]'
2405 preprocessing:
2406 - type: JAVASCRIPT
2407 parameters:
2408 - 'return ''{"data":[{"{#T}":1},{"{#T}":2}]}'';'
2409 - uuid: 0716f132c9b04837a02c0acad5bc895b
2410 name: ports
2411 type: DEPENDENT
2412 key: 'em04.ports[{#SLOT}]'
2413 item_prototypes:
2414 - uuid: 6c48c52fcf7c4105b50b894670ea0b86
2415 name: '{#BOARDNAME} slot {#SLOT} port {#P}: CAS RX'
2416 type: ZABBIX_ACTIVE
2417 key: 'MCv2.getvar[{#SLOT}, .6.{#P}.1.0, name={#BOARDNAME}]'
2418 tags:
2419 - tag: Board
2420 value: '{#BOARDNAME}'
2421 - uuid: 33e30543ce2d4ca0a3290365bb4406aa
2422 name: '{#BOARDNAME} slot {#SLOT} port {#P}: CAS TX'
2423 type: ZABBIX_ACTIVE
2424 key: 'MCv2.getvar[{#SLOT}, .6.{#P}.2.0, name={#BOARDNAME}]'
2425 tags:
2426 - tag: Board
2427 value: '{#BOARDNAME}'
2428 parent_discovery_rule:
2429 key: boards-EM-04
2430 master_item:
2431 key: 'MCv2.boardlist[]'
2432 preprocessing:
2433 - type: JAVASCRIPT
2434 parameters:
2435 - |
2436 var x = '{"data":[';
2437 for(var p = 1; p <= 4; p++) {
2438 if(p > 1) x += ',';
2439 x += '{"{#P}":'+p+'}';
2440 }
2441 x += ']}';
2442 return x;
2443 - uuid: 196e788e44fb4b1ea9e11167a67d8863
2444 name: 'Eth ports'
2445 type: DEPENDENT
2446 key: 'eth.ports[{#SLOT}]'
2447 item_prototypes:
2448 - uuid: 2c226674b58649769e9c617a50d5e721
2449 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Broadcast Rx'
2450 type: DEPENDENT
2451 key: 'eth.bcrx[{#SLOT},{#PORT}]'
2452 value_type: FLOAT
2453 units: pkt/s
2454 preprocessing:
2455 - type: JSONPATH
2456 parameters:
2457 - '$[6]'
2458 - type: CHANGE_PER_SECOND
2459 master_item:
2460 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2461 tags:
2462 - tag: Application
2463 value: ethernet
2464 - tag: Board
2465 value: '{#BOARDNAME}'
2466 - uuid: 2e6bad806de9415da8efd913b4eba536
2467 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Broadcast Tx'
2468 type: DEPENDENT
2469 key: 'eth.bctx[{#SLOT},{#PORT}]'
2470 value_type: FLOAT
2471 units: pkt/s
2472 preprocessing:
2473 - type: JSONPATH
2474 parameters:
2475 - '$[19]'
2476 - type: CHANGE_PER_SECOND
2477 master_item:
2478 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2479 tags:
2480 - tag: Application
2481 value: ethernet
2482 - tag: Board
2483 value: '{#BOARDNAME}'
2484 - uuid: 9c9564724a99472096dd1e36075aa2ad
2485 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Multicast Rx'
2486 type: DEPENDENT
2487 key: 'eth.mcrx[{#SLOT},{#PORT}]'
2488 value_type: FLOAT
2489 units: pkt/s
2490 preprocessing:
2491 - type: JSONPATH
2492 parameters:
2493 - '$[7]'
2494 - type: CHANGE_PER_SECOND
2495 master_item:
2496 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2497 tags:
2498 - tag: Application
2499 value: ethernet
2500 - tag: Board
2501 value: '{#BOARDNAME}'
2502 - uuid: fe9e576cae144b9baba4965e65a95333
2503 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Multicast Tx'
2504 type: DEPENDENT
2505 key: 'eth.mctx[{#SLOT},{#PORT}]'
2506 value_type: FLOAT
2507 units: pkt/s
2508 preprocessing:
2509 - type: JSONPATH
2510 parameters:
2511 - '$[18]'
2512 - type: CHANGE_PER_SECOND
2513 master_item:
2514 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2515 tags:
2516 - tag: Application
2517 value: ethernet
2518 - tag: Board
2519 value: '{#BOARDNAME}'
2520 - uuid: b493225d537341b094c84c203b3e7b11
2521 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Traffic Rx'
2522 type: DEPENDENT
2523 key: 'eth.octrx[{#SLOT},{#PORT}]'
2524 value_type: FLOAT
2525 units: bps
2526 preprocessing:
2527 - type: JAVASCRIPT
2528 parameters:
2529 - |
2530 var x = eval(value);
2531 return x[1] * 4294967296 + x[0];
2532 - type: CHANGE_PER_SECOND
2533 - type: MULTIPLIER
2534 parameters:
2535 - '8'
2536 master_item:
2537 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2538 tags:
2539 - tag: Application
2540 value: ethernet
2541 - tag: Board
2542 value: '{#BOARDNAME}'
2543 - uuid: cc60be64ceec429d8ab093d6949e657e
2544 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Traffic Tx'
2545 type: DEPENDENT
2546 key: 'eth.octtx[{#SLOT},{#PORT}]'
2547 value_type: FLOAT
2548 units: bps
2549 preprocessing:
2550 - type: JAVASCRIPT
2551 parameters:
2552 - |
2553 var x = eval(value);
2554 return x[15] * 4294967296 + x[14];
2555 - type: CHANGE_PER_SECOND
2556 - type: MULTIPLIER
2557 parameters:
2558 - '8'
2559 master_item:
2560 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2561 tags:
2562 - tag: Application
2563 value: ethernet
2564 - tag: Board
2565 value: '{#BOARDNAME}'
2566 - uuid: a004ebbd09c14376a7fa659696625d82
2567 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Unicast Rx'
2568 type: DEPENDENT
2569 key: 'eth.ucrx[{#SLOT},{#PORT}]'
2570 value_type: FLOAT
2571 units: pkt/s
2572 preprocessing:
2573 - type: JSONPATH
2574 parameters:
2575 - '$[4]'
2576 - type: CHANGE_PER_SECOND
2577 master_item:
2578 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2579 tags:
2580 - tag: Application
2581 value: ethernet
2582 - tag: Board
2583 value: '{#BOARDNAME}'
2584 - uuid: 7fe132dfa47c4442ace334fe3a6326f7
2585 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: Unicast Tx'
2586 type: DEPENDENT
2587 key: 'eth.uctx[{#SLOT},{#PORT}]'
2588 value_type: FLOAT
2589 units: pkt/s
2590 preprocessing:
2591 - type: JSONPATH
2592 parameters:
2593 - '$[16]'
2594 - type: CHANGE_PER_SECOND
2595 master_item:
2596 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2597 tags:
2598 - tag: Application
2599 value: ethernet
2600 - tag: Board
2601 value: '{#BOARDNAME}'
2602 - uuid: f749af733ed44ff284da4da9fcb8fa18
2603 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: NO LINK'
2604 type: ZABBIX_ACTIVE
2605 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.2.0, name=SW-01]'
2606 delay: 10m
2607 tags:
2608 - tag: Application
2609 value: ethernet
2610 - tag: Board
2611 value: '{#BOARDNAME}'
2612 trigger_prototypes:
2613 - uuid: 9639d5abccaf4dd7864d8719d5d9dbe9
2614 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.2.0, name=SW-01])>0'
2615 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: NO LINK'
2616 priority: HIGH
2617 manual_close: 'YES'
2618 tags:
2619 - tag: Application
2620 value: ethernet
2621 - tag: Board
2622 value: '{#BOARDNAME}'
2623 - uuid: e831196493cf474b822d89fb515eda3a
2624 name: '{#BOARDNAME} slot {#SLOT} Eth port {#PORT}: stats'
2625 type: ZABBIX_ACTIVE
2626 key: 'MCv2.getvar[{#SLOT}, .11.{#OIDPORT}.3.0,name=SW-01]'
2627 value_type: TEXT
2628 tags:
2629 - tag: Application
2630 value: ethernet
2631 - tag: Board
2632 value: '{#BOARDNAME}'
2633 parent_discovery_rule:
2634 key: boards-SW-01
2635 master_item:
2636 key: 'MCv2.boardlist[]'
2637 preprocessing:
2638 - type: JAVASCRIPT
2639 parameters:
2640 - 'return ''{"data":[{"{#PORT}":0, "{#OIDPORT}":10},{"{#PORT}":1, "{#OIDPORT}":1},{"{#PORT}":2, "{#OIDPORT}":2},{"{#PORT}":3, "{#OIDPORT}":3},{"{#PORT}":4, "{#OIDPORT}":4},{"{#PORT}":5, "{#OIDPORT}":5},{"{#PORT}":6, "{#OIDPORT}":6},{"{#PORT}":7, "{#OIDPORT}":7},{"{#PORT}":8, "{#OIDPORT}":8},{"{#PORT}":9, "{#OIDPORT}":9}]}'';'
2641 - uuid: e5e4cd7b799044d489d29a38ef33c096
2642 name: ports
2643 type: DEPENDENT
2644 key: 'fo08.ports[{#SLOT}]'
2645 item_prototypes:
2646 - uuid: 3f02376ab24749d48211400063db2be8
2647 name: '{#BOARDNAME} slot {#SLOT} port {#P}: line'
2648 type: DEPENDENT
2649 key: 'fo08.line[{#SLOT},{#P}]'
2650 valuemap:
2651 name: 'FO-08 line state'
2652 preprocessing:
2653 - type: JSONPATH
2654 parameters:
2655 - '$[1]'
2656 - type: DISCARD_UNCHANGED_HEARTBEAT
2657 parameters:
2658 - '3600'
2659 master_item:
2660 key: 'MCv2.getvar[{#SLOT}, .6.{#P}.1.0, name={#BOARDNAME},format=array]'
2661 tags:
2662 - tag: Board
2663 value: '{#BOARDNAME}'
2664 - uuid: 450cfde470814441af85c4e2e04b130e
2665 name: '{#BOARDNAME} slot {#SLOT} port {#P}: state'
2666 type: DEPENDENT
2667 key: 'fo08.state[{#SLOT},{#P}]'
2668 valuemap:
2669 name: 'FO-08 port state'
2670 preprocessing:
2671 - type: JSONPATH
2672 parameters:
2673 - '$[0]'
2674 - type: DISCARD_UNCHANGED_HEARTBEAT
2675 parameters:
2676 - '3600'
2677 master_item:
2678 key: 'MCv2.getvar[{#SLOT}, .6.{#P}.1.0, name={#BOARDNAME},format=array]'
2679 tags:
2680 - tag: Board
2681 value: '{#BOARDNAME}'
2682 trigger_prototypes:
2683 - uuid: b075daa899b245e5b8cbcef7710f0c65
2684 expression: 'last(/Template MC04-DSL-3U/fo08.state[{#SLOT},{#P}])=3'
2685 name: '{#BOARDNAME} slot {#SLOT} port {#P}: авария порта'
2686 priority: HIGH
2687 - uuid: b66d295d320d4352ae25701e80f7faee
2688 expression: 'last(/Template MC04-DSL-3U/fo08.state[{#SLOT},{#P}])=1'
2689 name: '{#BOARDNAME} slot {#SLOT} port {#P}: инициализация порта'
2690 priority: WARNING
2691 - uuid: 8dbff2a2c264409488d0f52cd2e074dc
2692 name: '{#BOARDNAME} slot {#SLOT} port {#P}: status'
2693 type: ZABBIX_ACTIVE
2694 key: 'MCv2.getvar[{#SLOT}, .6.{#P}.1.0, name={#BOARDNAME},format=array]'
2695 history: '0'
2696 value_type: TEXT
2697 tags:
2698 - tag: Board
2699 value: '{#BOARDNAME}'
2700 parent_discovery_rule:
2701 key: boards-FO-08
2702 master_item:
2703 key: 'MCv2.boardlist[]'
2704 preprocessing:
2705 - type: JAVASCRIPT
2706 parameters:
2707 - |
2708 var x = '{"data":[';
2709 for(var p = 1; p <= 8; p++) {
2710 if(p > 1) x += ',';
2711 x += '{"{#P}":'+p+'}';
2712 }
2713 x += ']}';
2714 return x;
2715 - uuid: 19d50104162c467aafc51d029419c32e
2716 name: ports
2717 type: DEPENDENT
2718 key: 'ge04.ports[{#SLOT}]'
2719 item_prototypes:
2720 - uuid: f140e4a7813b47c08c6abaf985c89a11
2721 name: '{#BOARDNAME} slot {#SLOT} port {#P}: NO LINK alarm'
2722 type: ZABBIX_ACTIVE
2723 key: 'MCv2.getvar[{#SLOT}, .9.{#P}.1.0,name={#BOARDNAME}]'
2724 delay: 10m
2725 tags:
2726 - tag: Application
2727 value: ethernet
2728 - tag: Board
2729 value: '{#BOARDNAME}'
2730 trigger_prototypes:
2731 - uuid: 5e7a7e51114a4db294cb366b9519b05d
2732 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .9.{#P}.1.0,name={#BOARDNAME}])>0'
2733 name: '{#BOARDNAME} slot {#SLOT} port {#P}: NO LINK'
2734 priority: HIGH
2735 tags:
2736 - tag: Application
2737 value: ethernet
2738 - tag: Board
2739 value: '{#BOARDNAME}'
2740 parent_discovery_rule:
2741 key: boards-GE-04
2742 master_item:
2743 key: 'MCv2.boardlist[]'
2744 preprocessing:
2745 - type: JAVASCRIPT
2746 parameters:
2747 - |
2748 var x = '{"data":[';
2749 for(var p = 1; p <= 4; p++) {
2750 if(p > 1) x += ',';
2751 x += '{"{#P}":'+p+'}';
2752 }
2753 x += ']}';
2754 return x;
2755 - uuid: 6e570bfbb3564182bd43a8519f9facdd
2756 name: e1
2757 type: DEPENDENT
2758 key: 'ge12.e1[{#SLOT}]'
2759 item_prototypes:
2760 - uuid: 88bd2cd39dd54ad997b06730692ca744
2761 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: LOS'
2762 type: ZABBIX_ACTIVE
2763 key: 'MCv2.getvar[{#SLOT}, .13.{#E1}.1.0,name={#BOARDNAME}]'
2764 delay: 10m
2765 valuemap:
2766 name: 'MC04 board status'
2767 tags:
2768 - tag: Application
2769 value: E1
2770 - tag: Board
2771 value: '{#BOARDNAME}'
2772 trigger_prototypes:
2773 - uuid: 4fad7c4e7a264e4bb884016558a19d4a
2774 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.{#E1}.1.0,name={#BOARDNAME}])>0'
2775 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: LOS'
2776 priority: HIGH
2777 manual_close: 'YES'
2778 tags:
2779 - tag: Board
2780 value: '{#BOARDNAME}'
2781 - uuid: da0d1a7928aa421e9a484d96ace48f9b
2782 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: LOF'
2783 type: ZABBIX_ACTIVE
2784 key: 'MCv2.getvar[{#SLOT}, .13.{#E1}.2.0,name={#BOARDNAME}]'
2785 delay: 10m
2786 valuemap:
2787 name: 'MC04 board status'
2788 tags:
2789 - tag: Application
2790 value: E1
2791 - tag: Board
2792 value: '{#BOARDNAME}'
2793 trigger_prototypes:
2794 - uuid: 21190bd7a2724379944bf1b33f0d5dfe
2795 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.{#E1}.2.0,name={#BOARDNAME}])>0'
2796 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: LOF'
2797 priority: HIGH
2798 manual_close: 'YES'
2799 tags:
2800 - tag: Board
2801 value: '{#BOARDNAME}'
2802 - uuid: 348cec60993249f7bef08cb2f1854821
2803 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: AIS'
2804 type: ZABBIX_ACTIVE
2805 key: 'MCv2.getvar[{#SLOT}, .13.{#E1}.3.0,name={#BOARDNAME}]'
2806 delay: 10m
2807 valuemap:
2808 name: 'MC04 board status'
2809 tags:
2810 - tag: Application
2811 value: E1
2812 - tag: Board
2813 value: '{#BOARDNAME}'
2814 trigger_prototypes:
2815 - uuid: 2d82179690de4d129915617c9e89e010
2816 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .13.{#E1}.3.0,name={#BOARDNAME}])>0'
2817 name: '{#BOARDNAME} slot {#SLOT} {#E1}E1: AIS'
2818 priority: AVERAGE
2819 manual_close: 'YES'
2820 tags:
2821 - tag: Board
2822 value: '{#BOARDNAME}'
2823 parent_discovery_rule:
2824 key: boards-GE-12
2825 master_item:
2826 key: 'MCv2.boardlist[]'
2827 preprocessing:
2828 - type: JAVASCRIPT
2829 parameters:
2830 - |
2831 var a = [];
2832 for(var i = 1; i <= 16; i++) a.push('{"{#E1}":'+i+'}');
2833 return '{"data":[' + a.join() + ']}';
2834 - uuid: c50c89be084447d09f8135c1f8348cfc
2835 name: optic
2836 type: DEPENDENT
2837 key: 'ge12.optic[{#SLOT}]'
2838 item_prototypes:
2839 - uuid: 5bb387a2c92d4f678eb269dc3afaf15b
2840 name: '{#BOARDNAME} slot {#SLOT} optic {#O}: LOS'
2841 type: ZABBIX_ACTIVE
2842 key: 'MCv2.getvar[{#SLOT}, .17.{#O}.1.0,name={#BOARDNAME}]'
2843 delay: 10m
2844 valuemap:
2845 name: 'MC04 board status'
2846 tags:
2847 - tag: Board
2848 value: '{#BOARDNAME}'
2849 trigger_prototypes:
2850 - uuid: 3772139aab204bf48d9508cc1c65767a
2851 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .17.{#O}.1.0,name={#BOARDNAME}])>0'
2852 name: '{#BOARDNAME} slot {#SLOT} optic {#O}: LOS'
2853 priority: HIGH
2854 manual_close: 'YES'
2855 tags:
2856 - tag: Board
2857 value: '{#BOARDNAME}'
2858 parent_discovery_rule:
2859 key: boards-GE-12
2860 master_item:
2861 key: 'MCv2.boardlist[]'
2862 preprocessing:
2863 - type: JAVASCRIPT
2864 parameters:
2865 - 'return ''{"data":[{"{#O}":1},{"{#O}":2}]}'';'
2866 - uuid: 97e67d011fae4814882f05e41968806b
2867 name: port
2868 type: DEPENDENT
2869 key: 'ge12.port[{#SLOT}]'
2870 item_prototypes:
2871 - uuid: 33959f9e3afa4d5ba49875572cc6ce28
2872 name: '{#BOARDNAME} slot {#SLOT} port {#P}: NO LINK'
2873 type: ZABBIX_ACTIVE
2874 key: 'MCv2.getvar[{#SLOT},.9.{#P}.1.0,name={#BOARDNAME}]'
2875 delay: 10m
2876 valuemap:
2877 name: 'MC04 board status'
2878 tags:
2879 - tag: Board
2880 value: '{#BOARDNAME}'
2881 trigger_prototypes:
2882 - uuid: bbf0544c01984ff3942a7414d8f3c312
2883 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.9.{#P}.1.0,name={#BOARDNAME}])>0'
2884 name: '{#BOARDNAME} slot {#SLOT} port {#P}: NO LINK'
2885 priority: HIGH
2886 manual_close: 'YES'
2887 tags:
2888 - tag: Board
2889 value: '{#BOARDNAME}'
2890 parent_discovery_rule:
2891 key: boards-GE-12
2892 master_item:
2893 key: 'MCv2.boardlist[]'
2894 preprocessing:
2895 - type: JAVASCRIPT
2896 parameters:
2897 - 'return ''{"data":[{"{#P}":1},{"{#P}":2},{"{#P}":3},{"{#P}":4},{"{#P}":5}]}'';'
2898 - uuid: 498a407229a145069ebdb7aaa01bf073
2899 name: E1
2900 type: ZABBIX_ACTIVE
2901 key: 'MCv2.getvar[{#SLOT}, .7.1.1.0, name={#BOARDNAME}]'
2902 delay: 10m
2903 item_prototypes:
2904 - uuid: 5fc0d6ad79be4dce884313236f6f911c
2905 name: '{#BOARDNAME} slot {#SLOT} E1: state'
2906 type: ZABBIX_ACTIVE
2907 key: 'MCv2.getvar[{#SLOT}, .7.1.4.0, name={#BOARDNAME}]'
2908 valuemap:
2909 name: 'SM E1 state'
2910 tags:
2911 - tag: Application
2912 value: E1
2913 - tag: Board
2914 value: '{#BOARDNAME}'
2915 parent_discovery_rule:
2916 key: boards-SM
2917 preprocessing:
2918 - type: JAVASCRIPT
2919 parameters:
2920 - |
2921 if(value > 0) return '{"data":[{"{#P}":0}]}';
2922 return '{"data":[]}';
2923 - uuid: 5c30876414c14c67bb94faeca974b06e
2924 name: sensor
2925 type: DEPENDENT
2926 key: 'ps-48d.sensor[{#SLOT}]'
2927 item_prototypes:
2928 - uuid: a9d96a346a4f408c896c48e735682887
2929 name: '{#BOARDNAME} slot {#SLOT}: датчик {#S}'
2930 type: ZABBIX_ACTIVE
2931 key: 'MCv2.getvar[{#SLOT},.9.{#S}.1.0,name={#BOARDNAME}]'
2932 delay: 10m
2933 valuemap:
2934 name: 'MC04 board status'
2935 tags:
2936 - tag: Board
2937 value: '{#BOARDNAME}'
2938 trigger_prototypes:
2939 - uuid: ed64231fcb45421aa30cdf1535aee10a
2940 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT},.9.{#S}.1.0,name={#BOARDNAME}])>0'
2941 name: '{#BOARDNAME} slot {#SLOT}: Датчик {#S} активен'
2942 priority: HIGH
2943 manual_close: 'YES'
2944 tags:
2945 - tag: Board
2946 value: '{#BOARDNAME}'
2947 parent_discovery_rule:
2948 key: boards-PS-24D
2949 master_item:
2950 key: 'MCv2.boardlist[]'
2951 preprocessing:
2952 - type: JAVASCRIPT
2953 parameters:
2954 - 'return ''{"data":[{"{#S}":1},{"{#S}":2},{"{#S}":3},{"{#S}":4},{"{#S}":5},{"{#S}":6}]}'';'
2955 - uuid: beb82d5faf3d4af9bb6791b18b74dadc
2956 name: термометр
2957 type: DEPENDENT
2958 key: 'ps-48d.term[{#SLOT}]'
2959 item_prototypes:
2960 - uuid: 1e44bd31c4cd4a7b8a3df440526336ef
2961 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: температура (raw)'
2962 type: ZABBIX_ACTIVE
2963 key: 'MCv2.getvar[{#SLOT}, .25.{#T}.2.0,name={#BOARDNAME}]'
2964 value_type: FLOAT
2965 units: C'
2966 tags:
2967 - tag: Board
2968 value: '{#BOARDNAME}'
2969 - uuid: e23d051ecb4a47c999d9f6a21ac528c9
2970 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: знак'
2971 type: ZABBIX_ACTIVE
2972 key: 'MCv2.getvar[{#SLOT}, .25.{#T}.4.0,name={#BOARDNAME}]'
2973 preprocessing:
2974 - type: MULTIPLIER
2975 parameters:
2976 - '1'
2977 error_handler: CUSTOM_VALUE
2978 error_handler_params: '0'
2979 tags:
2980 - tag: Board
2981 value: '{#BOARDNAME}'
2982 - uuid: 441b423866d14fc5a6b67192330707bd
2983 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: нижний порог'
2984 type: ZABBIX_ACTIVE
2985 key: 'MCv2.getvar[{#SLOT}, .28.0,name={#BOARDNAME},{#T}]'
2986 delay: 10m
2987 value_type: FLOAT
2988 units: C'
2989 tags:
2990 - tag: Board
2991 value: '{#BOARDNAME}'
2992 - uuid: 875dcb15fba74832ab32cf88a0fc4aa3
2993 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: верхний порог'
2994 type: ZABBIX_ACTIVE
2995 key: 'MCv2.getvar[{#SLOT}, .29.0,name={#BOARDNAME},{#T}]'
2996 delay: 10m
2997 value_type: FLOAT
2998 units: C'
2999 tags:
3000 - tag: Board
3001 value: '{#BOARDNAME}'
3002 - uuid: 8a9a2635299e45768d0a7bd3939c890d
3003 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: температура'
3004 type: CALCULATED
3005 key: 'ps-24d.temp[{#SLOT},{#T}]'
3006 value_type: FLOAT
3007 units: C'
3008 params: 'last(//MCv2.getvar[{#SLOT}, .25.{#T}.2.0,name={#BOARDNAME}]) - (last(//MCv2.getvar[{#SLOT}, .25.{#T}.4.0,name={#BOARDNAME}])=1) * 2 * last(//MCv2.getvar[{#SLOT}, .25.{#T}.2.0,name={#BOARDNAME}])'
3009 tags:
3010 - tag: Board
3011 value: '{#BOARDNAME}'
3012 trigger_prototypes:
3013 - uuid: 55c26754946b46cbaf9ab133d440e585
3014 expression: 'last(/Template MC04-DSL-3U/ps-24d.temp[{#SLOT},{#T}])>last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .29.0,name={#BOARDNAME},{#T}])'
3015 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: Температуре выше порога'
3016 priority: WARNING
3017 manual_close: 'YES'
3018 tags:
3019 - tag: Board
3020 value: '{#BOARDNAME}'
3021 - uuid: 7da0c66e6a1442a4912a1f8c2283ce92
3022 expression: 'last(/Template MC04-DSL-3U/ps-24d.temp[{#SLOT},{#T}])<last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .28.0,name={#BOARDNAME},{#T}])'
3023 name: '{#BOARDNAME} slot {#SLOT} термометр {#T}: Температуре ниже порога'
3024 priority: WARNING
3025 manual_close: 'YES'
3026 tags:
3027 - tag: Board
3028 value: '{#BOARDNAME}'
3029 parent_discovery_rule:
3030 key: boards-PS-24D
3031 master_item:
3032 key: 'MCv2.boardlist[]'
3033 preprocessing:
3034 - type: JAVASCRIPT
3035 parameters:
3036 - 'return ''{"data":[{"{#T}":1},{"{#T}":2}]}'';'
3037 - uuid: e8f28a870aac4440a613ac1766ceb6f4
3038 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} if{#IF}: present'
3039 type: DEPENDENT
3040 key: 'sm.rg.if.present[{#SLOT},{#RGNR},{#IF},{#RG}]'
3041 item_prototypes:
3042 - uuid: f83f7d02385c43ba8abd9f63124b732a
3043 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: state'
3044 type: ZABBIX_ACTIVE
3045 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.4.0, name={#BOARDNAME},{#IF},{#RG}]'
3046 valuemap:
3047 name: 'Состояния интерфейсов DSL'
3048 tags:
3049 - tag: Application
3050 value: DSL
3051 - tag: Board
3052 value: '{#BOARDNAME}'
3053 trigger_prototypes:
3054 - uuid: 0cdd30aab608491a8b1a3503f0df6326
3055 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.4.0, name={#BOARDNAME},{#IF},{#RG}])=1'
3056 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: активация DSL'
3057 priority: WARNING
3058 manual_close: 'YES'
3059 tags:
3060 - tag: Application
3061 value: DSL
3062 - tag: Board
3063 value: '{#BOARDNAME}'
3064 - uuid: 4aa4f6412d104bc2ae9785409c717810
3065 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.4.0, name={#BOARDNAME},{#IF},{#RG}])=3'
3066 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: потеря СЦС'
3067 priority: HIGH
3068 manual_close: 'YES'
3069 tags:
3070 - tag: Application
3071 value: DSL
3072 - tag: Board
3073 value: '{#BOARDNAME}'
3074 - uuid: 631d522a08634c67931cce42d63a6ea1
3075 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: SQ'
3076 type: ZABBIX_ACTIVE
3077 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.6.0, name={#BOARDNAME},{#IF},{#RG}]'
3078 units: dB
3079 tags:
3080 - tag: Application
3081 value: DSL
3082 - tag: Board
3083 value: '{#BOARDNAME}'
3084 - uuid: c6b839e8014d4c2199253dcf65166509
3085 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: LL'
3086 type: ZABBIX_ACTIVE
3087 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.7.0, name={#BOARDNAME},{#RG},{#IF}]'
3088 units: dB
3089 tags:
3090 - tag: Application
3091 value: DSL
3092 - tag: Board
3093 value: '{#BOARDNAME}'
3094 trigger_prototypes:
3095 - uuid: e4fb56796a6c40ccafe0269aaab15b4c
3096 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.4.0, name={#BOARDNAME},{#IF},{#RG}])>0 and last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IFACE}.6.0, name={#BOARDNAME},{#IF},{#RG}])<4'
3097 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IFACE}: низкое качество линии'
3098 priority: WARNING
3099 manual_close: 'YES'
3100 tags:
3101 - tag: Application
3102 value: DSL
3103 - tag: Board
3104 value: '{#BOARDNAME}'
3105 parent_discovery_rule:
3106 key: 'sm.rg.if[{#SLOT},{#RGNR},{#RG}]'
3107 master_item:
3108 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IF}.1.0, name={#BOARDNAME},{#RG}]'
3109 preprocessing:
3110 - type: JAVASCRIPT
3111 parameters:
3112 - |
3113 if(value > 0) return '{"data":[{"{#IFACE}":{#IF}}]}';
3114 return '{"data":[]}';
3115 - uuid: 95c31c4c6ef24271a182d8c647c7b403
3116 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: ifaces'
3117 type: DEPENDENT
3118 key: 'sm.rg.if[{#SLOT},{#RGNR},{#RG}]'
3119 item_prototypes:
3120 - uuid: 351f99bac17c43f6933164e3afe2bf48
3121 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR} iface{#IF}: PRESENT'
3122 type: ZABBIX_ACTIVE
3123 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.7.{#IF}.1.0, name={#BOARDNAME},{#RG}]'
3124 delay: 10m
3125 tags:
3126 - tag: Application
3127 value: DSL
3128 - tag: Board
3129 value: '{#BOARDNAME}'
3130 parent_discovery_rule:
3131 key: 'sm.rg.present[{#SLOT},{#RG}]'
3132 master_item:
3133 key: 'MCv2.getvar[{#SLOT}, .17.0, name={#BOARDNAME},format=array,{#RGNR},{#RG}]'
3134 preprocessing:
3135 - type: JAVASCRIPT
3136 parameters:
3137 - 'return ''{"data":[{"{#IF}":1},{"{#IF}":2},{"{#IF}":3},{"{#IF}":4}]}'';'
3138 - uuid: a2c12480c42a4b18b7e123aa28fe4407
3139 name: 'RG PRESENT'
3140 type: DEPENDENT
3141 key: 'sm.rg.present[{#SLOT},{#RG}]'
3142 item_prototypes:
3143 - uuid: 9e66a3c9d38045469a0946fad4af824e
3144 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: НРП датчик 1'
3145 type: ZABBIX_ACTIVE
3146 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.5.0, name={#BOARDNAME},{#RG}]'
3147 tags:
3148 - tag: Application
3149 value: DSL
3150 - tag: Board
3151 value: '{#BOARDNAME}'
3152 trigger_prototypes:
3153 - uuid: 0aec162901574f1381fa8b48b418ce9c
3154 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.5.0, name={#BOARDNAME},{#RG}])>0'
3155 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: сработал датчик 1 НРП'
3156 priority: HIGH
3157 manual_close: 'YES'
3158 tags:
3159 - tag: Application
3160 value: DSL
3161 - tag: Board
3162 value: '{#BOARDNAME}'
3163 - uuid: 1f4d9bbc53164c12b37dcc683fa7c237
3164 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: НРП датчик 2'
3165 type: ZABBIX_ACTIVE
3166 key: 'MCv2.getvar[{#SLOT}, .8.{#RGNR}.6.0, name={#BOARDNAME},{#RG}]'
3167 tags:
3168 - tag: Application
3169 value: DSL
3170 - tag: Board
3171 value: '{#BOARDNAME}'
3172 trigger_prototypes:
3173 - uuid: cbbb58f2568043848459e26ac5e75b21
3174 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .8.{#RGNR}.6.0, name={#BOARDNAME},{#RG}])>0'
3175 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: сработал датчик 2 НРП'
3176 priority: HIGH
3177 manual_close: 'YES'
3178 tags:
3179 - tag: Application
3180 value: DSL
3181 - tag: Board
3182 value: '{#BOARDNAME}'
3183 - uuid: fb7d6b3f93a84a8a9925fdf10933762d
3184 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: retime (all)'
3185 type: ZABBIX_ACTIVE
3186 key: 'MCv2.getvar[{#SLOT}, .17.0, name={#BOARDNAME},format=array,{#RGNR},{#RG}]'
3187 history: '0'
3188 value_type: TEXT
3189 tags:
3190 - tag: Application
3191 value: DSL
3192 - tag: Board
3193 value: '{#BOARDNAME}'
3194 - uuid: 44ce8c67e7964570a779948621530e6e
3195 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: retime1'
3196 type: DEPENDENT
3197 key: 'sm.retime1[{#SLOT},{#RGNR},{#RG}]'
3198 value_type: FLOAT
3199 trends: '0'
3200 units: ppm
3201 preprocessing:
3202 - type: JAVASCRIPT
3203 parameters:
3204 - |
3205 var data = eval(value);
3206 var index = {#RGNR} * 2;
3207 var x = data[index];
3208 return x > 0 ? (x - 1) / 4 : 0;
3209 master_item:
3210 key: 'MCv2.getvar[{#SLOT}, .17.0, name={#BOARDNAME},format=array,{#RGNR},{#RG}]'
3211 tags:
3212 - tag: Application
3213 value: DSL
3214 - tag: Board
3215 value: '{#BOARDNAME}'
3216 - uuid: b662b45174b547a988c2a6b5ac856619
3217 name: '{#BOARDNAME} slot {#SLOT} rg{#RGNR}: retime2'
3218 type: DEPENDENT
3219 key: 'sm.retime2[{#SLOT},{#RGNR},{#RG}]'
3220 value_type: FLOAT
3221 trends: '0'
3222 units: ppm
3223 preprocessing:
3224 - type: JAVASCRIPT
3225 parameters:
3226 - |
3227 var data = eval(value);
3228 var index = {#RGNR} * 2 + 1;
3229 var x = data[index];
3230 return x > 0 ? (x - 1) / 4 : 0;
3231 master_item:
3232 key: 'MCv2.getvar[{#SLOT}, .17.0, name={#BOARDNAME},format=array,{#RGNR},{#RG}]'
3233 tags:
3234 - tag: Application
3235 value: DSL
3236 - tag: Board
3237 value: '{#BOARDNAME}'
3238 parent_discovery_rule:
3239 key: 'sm.rg[{#SLOT}]'
3240 master_item:
3241 key: 'MCv2.getvar[{#SLOT}, .8.{#RG}.1.0, name={#BOARDNAME}]'
3242 preprocessing:
3243 - type: JAVASCRIPT
3244 parameters:
3245 - |
3246 if(value > 0) return '{"data":[{"{#RGNR}":{#RG}}]}';
3247 return '{"data":[]}';
3248 - uuid: fb506bcbbaf34170872f6136a5c31002
3249 name: RG
3250 type: DEPENDENT
3251 key: 'sm.rg[{#SLOT}]'
3252 item_prototypes:
3253 - uuid: 78c9ad9d247a4febb419021cef520b4f
3254 name: '{#BOARDNAME} slot {#SLOT} rg{#RG}: PRESENT'
3255 type: ZABBIX_ACTIVE
3256 key: 'MCv2.getvar[{#SLOT}, .8.{#RG}.1.0, name={#BOARDNAME}]'
3257 delay: 10m
3258 tags:
3259 - tag: Application
3260 value: DSL
3261 - tag: Board
3262 value: '{#BOARDNAME}'
3263 parent_discovery_rule:
3264 key: boards-SM
3265 master_item:
3266 key: 'MCv2.getvar[{#SLOT}, .5.0, name={#BOARDNAME}, format=array]'
3267 preprocessing:
3268 - type: JAVASCRIPT
3269 parameters:
3270 - 'return ''{"data":[{"{#RG}":1},{"{#RG}":2},{"{#RG}":3},{"{#RG}":4},{"{#RG}":5},{"{#RG}":6},{"{#RG}":7},{"{#RG}":8},{"{#RG}":9},{"{#RG}":10},{"{#RG}":11},{"{#RG}":12},{"{#RG}":13},{"{#RG}":14},{"{#RG}":15},{"{#RG}":16}]}'';'
3271 - uuid: 66c6dbe7a7bc4d338bee5ebf69fd4b6e
3272 name: channel
3273 type: DEPENDENT
3274 key: 've-01-ch[{#SLOT}]'
3275 item_prototypes:
3276 - uuid: 6eaebc4cd32641268ed766f6cd8435e5
3277 name: '{#BOARDNAME} slot {#SLOT} канал {#C}: LOS'
3278 type: ZABBIX_ACTIVE
3279 key: 'MCv2.getvar[{#SLOT}, .10.{#C}.10.0,name={#BOARDNAME}]'
3280 delay: 10m
3281 valuemap:
3282 name: 'MC04 board status'
3283 tags:
3284 - tag: Board
3285 value: '{#BOARDNAME}'
3286 trigger_prototypes:
3287 - uuid: a254885749364d7a89e541d43d08d9a1
3288 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.{#C}.10.0,name={#BOARDNAME}])>0'
3289 name: '{#BOARDNAME} slot {#SLOT} канал {#C}: RTP stream lost'
3290 priority: HIGH
3291 manual_close: 'YES'
3292 tags:
3293 - tag: Board
3294 value: '{#BOARDNAME}'
3295 - uuid: 87e5d2ef23bd43cda626310dfaeaad63
3296 name: '{#BOARDNAME} slot {#SLOT} канал {#C}: Remote host down'
3297 type: ZABBIX_ACTIVE
3298 key: 'MCv2.getvar[{#SLOT}, .10.{#C}.17.0,name={#BOARDNAME}]'
3299 delay: 10m
3300 valuemap:
3301 name: 'MC04 board status'
3302 tags:
3303 - tag: Board
3304 value: '{#BOARDNAME}'
3305 trigger_prototypes:
3306 - uuid: add51e2e1762438c8777ab60fbdf3699
3307 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .10.{#C}.17.0,name={#BOARDNAME}])>0'
3308 name: '{#BOARDNAME} slot {#SLOT} канал {#C}: Remote host is down'
3309 priority: HIGH
3310 manual_close: 'YES'
3311 tags:
3312 - tag: Board
3313 value: '{#BOARDNAME}'
3314 parent_discovery_rule:
3315 key: boards-VE-01
3316 master_item:
3317 key: 'MCv2.getvar[{#SLOT}, .9.0, name={#BOARDNAME},format=array]'
3318 preprocessing:
3319 - type: JAVASCRIPT
3320 parameters:
3321 - |
3322 var mask = eval(value);
3323 var arr = [];
3324 for(var i = 1; i <= 256; i++) {
3325 var b = i >> 3;
3326 var m = 1 << (i % 8);
3327 if(mask[b] & m) {
3328 arr.push('{"{#C}":'+i+'}');
3329 }
3330 }
3331 return '{"data":[' + arr.join() + ']}';
3332 - uuid: d36f55f9278f47c6890985da74af84b6
3333 name: e1
3334 type: DEPENDENT
3335 key: 've-01-e1[{#SLOT}]'
3336 item_prototypes:
3337 - uuid: 66b2fe650a3a484ca006f7f92a52a74a
3338 name: '{#BOARDNAME} slot {#SLOT} E1 {#E1}: MF alignment lost'
3339 type: ZABBIX_ACTIVE
3340 key: 'MCv2.getvar[{#SLOT}, .14.{#E1}.2.0,name={#BOARDNAME}]'
3341 delay: 10m
3342 valuemap:
3343 name: 'MC04 board status'
3344 tags:
3345 - tag: Application
3346 value: E1
3347 - tag: Board
3348 value: '{#BOARDNAME}'
3349 trigger_prototypes:
3350 - uuid: 33f7fcb9dd13414a9b348b7ec3152556
3351 expression: 'last(/Template MC04-DSL-3U/MCv2.getvar[{#SLOT}, .14.{#E1}.2.0,name={#BOARDNAME}])>0'
3352 name: '{#BOARDNAME} slot {#SLOT} E1 {#E1}: MF alignment lost'
3353 priority: HIGH
3354 manual_close: 'YES'
3355 tags:
3356 - tag: Board
3357 value: '{#BOARDNAME}'
3358 parent_discovery_rule:
3359 key: boards-VE-01
3360 master_item:
3361 key: 'MCv2.boardlist[]'
3362 preprocessing:
3363 - type: JAVASCRIPT
3364 parameters:
3365 - 'return ''{"data":[{"{#E1}":1},{"{#E1}":2},{"{#E1}":3},{"{#E1}":4},{"{#E1}":5},{"{#E1}":6},{"{#E1}":7},{"{#E1}":8}]}'';'
3366 valuemaps:
3367 - uuid: 5af5eac483384ee693fb030c4d71b79a
3368 name: 'FO-08 line state'
3369 mappings:
3370 - value: '0'
3371 newvalue: разомкнут
3372 - value: '1'
3373 newvalue: вызов
3374 - value: '2'
3375 newvalue: замкнут
3376 - uuid: fbcaf0d2f2294f5780bc9e18f6ef102a
3377 name: 'FO-08 port state'
3378 mappings:
3379 - value: '0'
3380 newvalue: блокирован
3381 - value: '1'
3382 newvalue: инициализация
3383 - value: '2'
3384 newvalue: работа
3385 - value: '3'
3386 newvalue: авария
3387 - uuid: 5d118a209e144903887b086e8168cc3b
3388 name: 'GE-12 sync status'
3389 mappings:
3390 - value: '0'
3391 newvalue: LOCKED
3392 - value: '1'
3393 newvalue: TRACING
3394 - value: '2'
3395 newvalue: HOLD
3396 - value: '3'
3397 newvalue: FREERUN
3398 - uuid: 968dcd1ad02c41198538482c710de645
3399 name: 'MC04 board status'
3400 mappings:
3401 - value: '0'
3402 newvalue: OK
3403 - value: '1'
3404 newvalue: ALARM
3405 - type: GREATER_OR_EQUAL
3406 value: '2'
3407 newvalue: WARNING
3408 - uuid: 7bae412762454368b7f14f8cd785d038
3409 name: 'PE-04 port status'
3410 mappings:
3411 - value: '1'
3412 newvalue: Short
3413 - value: '3'
3414 newvalue: 'Too Low'
3415 - value: '4'
3416 newvalue: OK
3417 - value: '5'
3418 newvalue: 'Too High'
3419 - value: '6'
3420 newvalue: Open
3421 - uuid: fe18e1850db347aab075c0e410916f5c
3422 name: 'SM E1 state'
3423 mappings:
3424 - value: '1'
3425 newvalue: ALARM
3426 - value: '2'
3427 newvalue: OK
3428 - uuid: e12cb96c61634e33ba38ecddfc1aa523
3429 name: 'VE-02 eth0 link status'
3430 mappings:
3431 - value: '1'
3432 newvalue: 'NO LINK'
3433 - value: '2'
3434 newvalue: 1000/HD
3435 - value: '3'
3436 newvalue: 1000/FD
3437 - value: '4'
3438 newvalue: 100/HD
3439 - value: '5'
3440 newvalue: 100/FD
3441 - value: '6'
3442 newvalue: 10/HD
3443 - value: '7'
3444 newvalue: 10/FD
3445 - uuid: 8991d3b677f847e8bee9d99f0efb492f
3446 name: 'Состояния интерфейсов DSL'
3447 mappings:
3448 - value: '0'
3449 newvalue: Выкл
3450 - value: '1'
3451 newvalue: Иниц
3452 - value: '2'
3453 newvalue: OK
3454 - value: '3'
3455 newvalue: 'Нет СЦС'