-
Notifications
You must be signed in to change notification settings - Fork 1
/
zbx_audiocodes_gateway_and_sbc.yaml
606 lines (606 loc) · 20.5 KB
/
zbx_audiocodes_gateway_and_sbc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
zabbix_export:
version: '6.4'
template_groups:
- uuid: 1d12408342854fd5a4436dd6d5d1bd4a
name: Templates/Telephony
templates:
- uuid: c90d038e03774ac089afb0292a88a18e
template: 'AudioCodes Gateway and SBC'
name: 'AudioCodes Gateway and SBC'
vendor:
name: Airler
version: 6.4-0
templates:
- name: 'Generic by SNMP'
groups:
- name: Templates/Telephony
items:
- uuid: 470bdcb7352b4819bf1ecc7c5a78b5da
name: 'CPU Utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.2.4.1.2.1.1.2
key: acKpiCpuStatsCurrentCpuCpuUtilization
delay: 30s
history: 2w
status: DISABLED
units: '%'
description: 'CPU utilization (%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: component
value: system
- uuid: 77bc8d5fc11f4b5bba683fe5535079dd
name: 'Active Calls'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.2.1.1.32
key: acKpiGatewayCallStatsCurrentGlobalActiveCalls
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: c82662b21d544a8882746a8a06baf17e
name: 'Active Calls IP 2 Tel'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.1.30
key: acKpiGatewayCallStatsCurrentGlobalActiveCallsIp2Tel
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active IP->Tel calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: 9fc40375017b49ce9d1c5b54c25eb2af
name: 'Active Calls Tel 2 IP'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.1.29
key: acKpiGatewayCallStatsCurrentGlobalActiveCallsTel2Ip
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active Tel->IP calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: 908e1fe2b53248bb8e7b852e4307dd94
name: 'Active Calls (trunkGroup)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.2.2.1.32
key: acKpiGatewayCallStatsCurrentTrunkGroupActiveCalls
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: 9d27ef943a9341c1a5497fc6831fabd2
name: 'Active Calls IP 2 Tel (trunkGroup)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.2.2.1.31
key: acKpiGatewayCallStatsCurrentTrunkGroupActiveCallsIp2Tel
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active IP->Tel calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: a83f6c2f88f04168897b38f16550cb76
name: 'Active Calls Tel 2 IP (trunkGroup)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.4.1.1.2.2.1.30
key: acKpiGatewayCallStatsCurrentTrunkGroupActiveCallsTel2Ip
delay: 30s
history: 2w
status: DISABLED
description: 'Number of active Tel->IP calls'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- uuid: 7daebf7afb6644d5bc3f06e7e81d0400
name: 'HA Active Packet Loss'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.1.1.2
key: acKpiHaStatsCurrentGlobalHaActivePacketLoss
history: 2w
status: DISABLED
units: '%'
description: 'Percent of HA KA packets lost by Active unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: 6e61ede141d446f099919348839e493d
name: 'HA Redundant Packet Loss'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.1.1.1
key: acKpiHaStatsCurrentGlobalHaRedundantPacketLoss
history: 2w
status: DISABLED
units: '%'
description: 'Percent of HA KA packets lost by Redundant unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: ab1db3857c3642c18d2047f8ef816ed7
name: 'HA Active Packet Loss Avg'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.2.1.1.1.5
key: acKpiHaStatsIntervalGlobalHaActivePacketLossAvg
delay: 15m
history: 2w
status: DISABLED
units: '%'
description: 'Average percent of HA KA packets lost by Active unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: 6eaae7a39dba47dc9011670c8138743d
name: 'HA Active Packet Loss Max'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.2.1.1.1.4
key: acKpiHaStatsIntervalGlobalHaActivePacketLossMax
delay: 15m
history: 2w
status: DISABLED
units: '%'
description: 'Maximum percent of HA KA packets lost by Active unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: 6551ba6badcf46b6aa5be7fdc00ff200
name: 'HA Redundant Packet Loss Avg'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.2.1.1.1.3
key: acKpiHaStatsIntervalGlobalHaRedundantPacketLossAvg
delay: 15m
history: 2w
status: DISABLED
units: '%'
description: 'Average percent of HA KA packets lost by Redundant unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: 8ac4264ac2f64cd19543eafe19b53e2d
name: 'HA Redundant Packet Loss Max'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.6.2.2.1.1.1.2
key: acKpiHaStatsIntervalGlobalHaRedundantPacketLossMax
delay: 15m
history: 2w
status: DISABLED
units: '%'
description: 'Maximum percent of HA KA packets lost by Redundant unit (in 0.01%)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: HA
- tag: component
value: health
- uuid: 16d12815d33e477d90b513ada8df28e9
name: 'Abnormal Terminated Calls In Total'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.5003.15.3.1.1.1.35
key: acKpiSbcCallStatsCurrentGlobalAbnormalTerminatedCallsInTotal
delay: 30s
history: 2w
status: DISABLED
description: 'Total number of abnormally terminated inbound calls (after connect)'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
tags:
- tag: Application
value: General
- tag: component
value: health
- uuid: 0b00cb0ba6cc42b2bc0c5c675f61fa95
name: 'Audiocodes REST API - Alarms'
type: HTTP_AGENT
key: audiocodes.api.alarms
history: 7d
trends: '0'
value_type: TEXT
authtype: BASIC
username: '{$AUDIOCODES_USER}'
password: '{$AUDIOCODES_PASSWORD}'
preprocessing:
- type: JSONPATH
parameters:
- $.alarms
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
url: 'https://{HOST.CONN}/api/v1/alarms/active'
status_codes: '200,204'
tags:
- tag: component
value: health
- tag: component
value: raw
triggers:
- uuid: 498a4b28b9184f638dbed225473aca76
expression: 'nodata(/AudioCodes Gateway and SBC/audiocodes.api.alarms,5m)=0'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'nodata(/AudioCodes Gateway and SBC/audiocodes.api.alarms,5m)=1'
name: 'Active Alarm'
priority: HIGH
manual_close: 'YES'
dependencies:
- name: 'Certificate expires soon'
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.alarms.cert_expiry) <= {$CERT.EXPIRY.WARN}'
- name: 'Certificate expires soon'
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.alarms.cert_expiry) > 0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: f9ab35b7ccda44409e75a4b9203a48bb
name: 'Certificate expiry alarm'
type: DEPENDENT
key: audiocodes.api.alarms.cert_expiry
delay: '0'
history: 1w
value_type: FLOAT
preprocessing:
- type: MATCHES_REGEX
parameters:
- '\"(Certificate expiry: The certificate of TLS context 0 will expire in (\d+) days\.)\"'
error_handler: CUSTOM_VALUE
- type: REGEX
parameters:
- '\"(Certificate expiry: The certificate of TLS context 0 will expire in (\d+) days\.)\"'
- \2
error_handler: CUSTOM_VALUE
error_handler_params: '-1'
master_item:
key: audiocodes.api.alarms
tags:
- tag: component
value: cert
- tag: component
value: health
triggers:
- uuid: 2d04fc8c62484109aaf003b9757a53fb
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.alarms.cert_expiry) <= {$CERT.EXPIRY.WARN}'
name: 'Certificate expires soon'
opdata: 'expires in {ITEM.LASTVALUE} days'
priority: HIGH
tags:
- tag: scope
value: security
- uuid: 7ae7469e8d5343588e7d8f8039fb3745
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.alarms.cert_expiry) > 0'
name: 'Certificate expires soon'
opdata: 'expires in {ITEM.LASTVALUE} days'
priority: WARNING
dependencies:
- name: 'Certificate expires soon'
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.alarms.cert_expiry) <= {$CERT.EXPIRY.WARN}'
tags:
- tag: scope
value: security
- uuid: 248444f0e11a444a8e9717086d5e1576
name: 'Audiocodes REST API - KPI'
type: HTTP_AGENT
key: audiocodes.api.kpi
history: 7d
trends: '0'
status: DISABLED
value_type: TEXT
authtype: BASIC
username: '{$AUDIOCODES_USER}'
password: '{$AUDIOCODES_PASSWORD}'
url: 'https://{HOST.CONN}/api/v1/performanceMonitoring'
tags:
- tag: component
value: raw
- uuid: 9e55e402167f414687a039620692be23
name: 'Audiocodes REST API - Status'
type: HTTP_AGENT
key: audiocodes.api.status
history: '0'
trends: '0'
value_type: TEXT
authtype: BASIC
username: '{$AUDIOCODES_USER}'
password: '{$AUDIOCODES_PASSWORD}'
url: 'https://{HOST.CONN}/api/v1/status'
tags:
- tag: component
value: raw
- uuid: 5451144b006946c8a9c9adfaaf5fbffd
name: 'HA Status'
type: DEPENDENT
key: audiocodes.api.status.highAvailability
delay: '0'
trends: '0'
value_type: CHAR
preprocessing:
- type: JSONPATH
parameters:
- $.highAvailability
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: health
- tag: component
value: system
triggers:
- uuid: dac9ba302a424ba58f938ddc740e8770
expression: 'last(/AudioCodes Gateway and SBC/audiocodes.api.status.highAvailability)<>"Operational"'
name: 'HA is not operational'
priority: WARNING
- uuid: 97b964897c88442c9a0951f8711c5276
name: LocalTimeStamp
type: DEPENDENT
key: audiocodes.api.status.localTimeStamp
delay: '0'
history: 2w
trends: '0'
value_type: CHAR
preprocessing:
- type: JSONPATH
parameters:
- $.localTimeStamp
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 7b13e026a8f3478d8a99fa9a1ecf9b08
name: MAC-Address
type: DEPENDENT
key: audiocodes.api.status.macAddress
delay: '0'
trends: '0'
value_type: CHAR
inventory_link: MACADDRESS_A
preprocessing:
- type: JSONPATH
parameters:
- $.macAddress
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 5be56dbc80f74ae4b2467e9d9c2b542b
name: 'Operational State'
type: DEPENDENT
key: audiocodes.api.status.operationalState
delay: '0'
trends: '0'
value_type: CHAR
preprocessing:
- type: JSONPATH
parameters:
- $.operationalState
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: health
- tag: component
value: system
- uuid: 656cc7a2d62f485e8516728e5bb2678e
name: Model
type: DEPENDENT
key: audiocodes.api.status.productType
delay: '0'
trends: '0'
value_type: CHAR
inventory_link: MODEL
preprocessing:
- type: JSONPATH
parameters:
- $.productType
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 9c2ea5f60619437dba1bdb2a61ac8ef1
name: 'Protocol Type'
type: DEPENDENT
key: audiocodes.api.status.protocolType
delay: '0'
trends: '0'
value_type: CHAR
preprocessing:
- type: JSONPATH
parameters:
- $.protocolType
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 10e2fd7468574b5dace4963f9ccad5ab
name: 'Reset needed'
type: DEPENDENT
key: audiocodes.api.status.resetneeded
delay: '0'
trends: '0'
value_type: CHAR
valuemap:
name: 'True/False to OK'
preprocessing:
- type: JSONPATH
parameters:
- $.resetNeeded
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 657ef129c1d14099be9a6fd5708fe374
name: 'Save needed'
type: DEPENDENT
key: audiocodes.api.status.saveneeded
delay: '0'
trends: '0'
value_type: CHAR
valuemap:
name: 'True/False to OK'
preprocessing:
- type: JSONPATH
parameters:
- $.saveNeeded
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 02a4272adf0e4d13b661a16e9c2b260d
name: Serial-Number
type: DEPENDENT
key: audiocodes.api.status.serialNumber
delay: '0'
trends: '0'
value_type: CHAR
inventory_link: SERIALNO_A
preprocessing:
- type: JSONPATH
parameters:
- $.serialNumber
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
triggers:
- uuid: bc94737ed9594154ad2604d1d85f6082
expression: 'change(/AudioCodes Gateway and SBC/audiocodes.api.status.serialNumber) and length(last(/AudioCodes Gateway and SBC/audiocodes.api.status.serialNumber))>0'
name: 'Device has been replaced'
opdata: 'new serial: {ITEM.LASTVALUE}'
priority: INFO
manual_close: 'YES'
- uuid: 5bcdf82564a44fc1aa9b3c0ebef270dc
name: Uptime
type: DEPENDENT
key: audiocodes.api.status.systemUpTime
delay: '0'
history: 2w
trends: '0'
units: uptime
preprocessing:
- type: JSONPATH
parameters:
- $.systemUpTime
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
- uuid: 37aeb2fa45834347bb6f500dbe1afc19
name: 'Firmware Version'
type: DEPENDENT
key: audiocodes.api.status.versionID
delay: '0'
trends: '0'
value_type: CHAR
inventory_link: SOFTWARE
preprocessing:
- type: JSONPATH
parameters:
- $.versionID
master_item:
key: audiocodes.api.status
tags:
- tag: component
value: system
triggers:
- uuid: fd7cd4cb04f64848a1500c2168cdb3eb
expression: 'change(/AudioCodes Gateway and SBC/audiocodes.api.status.versionID) and length(last(/AudioCodes Gateway and SBC/audiocodes.api.status.versionID))>0'
name: 'Firmware Version changed'
priority: INFO
manual_close: 'YES'
macros:
- macro: '{$AUDIOCODES_PASSWORD}'
type: SECRET_TEXT
- macro: '{$AUDIOCODES_USER}'
value: Admin
- macro: '{$CERT.EXPIRY.WARN}'
value: '14'
valuemaps:
- uuid: aa4ee47a3bfd4c0683403c23f42caa97
name: 'True/False to OK'
mappings:
- value: 'false'
newvalue: OK
- type: DEFAULT
newvalue: 'not OK'
triggers:
- uuid: 9067c74c76024ca881cca435475b1392
expression: '(last(/AudioCodes Gateway and SBC/system.name,#1)<>last(/AudioCodes Gateway and SBC/system.name,#2))=1 and length(last(/AudioCodes Gateway and SBC/system.name))>0'
name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'