Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tel/asterisk_http/template_tel_asterisk_http.yaml')
-rw-r--r--templates/tel/asterisk_http/template_tel_asterisk_http.yaml58
1 files changed, 57 insertions, 1 deletions
diff --git a/templates/tel/asterisk_http/template_tel_asterisk_http.yaml b/templates/tel/asterisk_http/template_tel_asterisk_http.yaml
index 6b56d6134ec..1ab2185e6f1 100644
--- a/templates/tel/asterisk_http/template_tel_asterisk_http.yaml
+++ b/templates/tel/asterisk_http/template_tel_asterisk_http.yaml
@@ -1,11 +1,13 @@
zabbix_export:
version: '5.4'
- date: '2021-05-09T00:00:00Z'
+ date: '2021-05-10T19:41:05Z'
groups:
-
+ uuid: 1d12408342854fd5a4436dd6d5d1bd4a
name: Templates/Telephony
templates:
-
+ uuid: 30cc187a4e994c39b07f53d86b5cc6bc
template: 'Asterisk by HTTP'
name: 'Asterisk by HTTP'
description: |
@@ -19,6 +21,7 @@ zabbix_export:
name: Templates/Telephony
items:
-
+ uuid: 72d074f6bb214ef9884d8cc4b1530ad3
name: 'Asterisk: Active calls'
type: DEPENDENT
key: asterisk.active_calls
@@ -37,6 +40,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: bb9ac1ac188b43239456477e13ae555f
name: 'Asterisk: Active channels'
type: DEPENDENT
key: asterisk.active_channels
@@ -55,6 +59,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: ccfc2a8a5880430196e2c874b66370ca
name: 'Asterisk: Calls processed'
type: DEPENDENT
key: asterisk.calls_processed
@@ -73,6 +78,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 196af875a190438abd8de5a6803a550f
name: 'Asterisk: Calls processed per second'
type: DEPENDENT
key: asterisk.calls_processed.rate
@@ -96,6 +102,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 7db3e9cdae3d4bffa7429617e351fce1
name: 'Asterisk: Get stats'
type: HTTP_AGENT
key: asterisk.get_stats
@@ -385,6 +392,7 @@ zabbix_export:
tag: Application
value: 'Zabbix raw items'
-
+ uuid: 0798cf46d82041e6a7091698c7693ec5
name: 'Asterisk: IAX offline peers'
type: DEPENDENT
key: asterisk.iax.offline
@@ -403,6 +411,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: bf741f5560734530be352341071c5984
name: 'Asterisk: IAX online peers'
type: DEPENDENT
key: asterisk.iax.online
@@ -421,6 +430,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: ccb62e9b41da4f20b4ab19e4eecd598b
name: 'Asterisk: IAX peers'
type: DEPENDENT
key: asterisk.iax.total
@@ -439,6 +449,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: cf5c07c1a09b4a10af21292b876fcb20
name: 'Asterisk: IAX unmonitored peers'
type: DEPENDENT
key: asterisk.iax.unmonitored
@@ -457,6 +468,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: cc07f186104842aabec3d26dcd4322d2
name: 'Asterisk: PJSIP available endpoints'
type: DEPENDENT
key: asterisk.pjsip.available
@@ -475,6 +487,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: fdc888cb355a4b738be8a77354a7ce76
name: 'Asterisk: PJSIP endpoints'
type: DEPENDENT
key: asterisk.pjsip.total
@@ -493,6 +506,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 5c10fe1a4bfb4628be20137d0f1ec725
name: 'Asterisk: PJSIP unavailable endpoints'
type: DEPENDENT
key: asterisk.pjsip.unavailable
@@ -511,6 +525,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: fb08ec8d143a41a097f8652c8261bad8
name: 'Asterisk: SIP monitored offline'
type: DEPENDENT
key: asterisk.sip.monitored_offline
@@ -529,6 +544,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 23744b0a04b54637a7dbe1c7f8f5200f
name: 'Asterisk: SIP monitored online'
type: DEPENDENT
key: asterisk.sip.monitored_online
@@ -547,6 +563,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: fb78998a342942ac942a7e1632b98208
name: 'Asterisk: SIP peers'
type: DEPENDENT
key: asterisk.sip.total
@@ -565,6 +582,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: ae21f8c13063402d9eece400a18c6167
name: 'Asterisk: SIP unmonitored offline'
type: DEPENDENT
key: asterisk.sip.unmonitored_offline
@@ -583,6 +601,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 1cd5fb5232ca4f4398f85d959ac11b2c
name: 'Asterisk: SIP unmonitored online'
type: DEPENDENT
key: asterisk.sip.unmonitored_online
@@ -601,6 +620,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 9c64cb54c2c541c1862558dcf8c6e3a3
name: 'Asterisk: Total queues'
type: DEPENDENT
key: asterisk.total_queues
@@ -619,6 +639,7 @@ zabbix_export:
tag: Application
value: Asterisk
-
+ uuid: 8395ab5b70a7433eb508c513995988bb
name: 'Asterisk: Uptime'
type: DEPENDENT
key: asterisk.uptime
@@ -640,6 +661,7 @@ zabbix_export:
value: Asterisk
triggers:
-
+ uuid: 5c69bcdff46e466f93b8bc9ee7690ce3
expression: 'nodata(/Asterisk by HTTP/asterisk.uptime,30m)=1'
name: 'Asterisk: Failed to fetch AMI page (or no data for 30m)'
priority: WARNING
@@ -650,12 +672,14 @@ zabbix_export:
name: 'Asterisk: Service is down'
expression: 'last(/Asterisk by HTTP/net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"])=0'
-
+ uuid: 100d38b62c1d4ce298a9fadfbab19e4c
expression: 'last(/Asterisk by HTTP/asterisk.uptime)<10m'
name: 'Asterisk: has been restarted (uptime < 10m)'
priority: INFO
description: 'Uptime is less than 10 minutes'
manual_close: 'YES'
-
+ uuid: 86e23b5b9fd64e6e840588d25921fcbf
name: 'Asterisk: Uptime after reload'
type: DEPENDENT
key: asterisk.uptime_reload
@@ -677,12 +701,14 @@ zabbix_export:
value: Asterisk
triggers:
-
+ uuid: 4e99b65188264ba1aa80e24662f9b3cd
expression: 'last(/Asterisk by HTTP/asterisk.uptime_reload)<10m'
name: 'Asterisk: has been reloaded (uptime < 10m)'
priority: INFO
description: 'Uptime is less than 10 minutes'
manual_close: 'YES'
-
+ uuid: 8ed124c5d61541c0ab1dcc3491fb05c6
name: 'Asterisk: Version'
type: DEPENDENT
key: asterisk.version
@@ -704,12 +730,14 @@ zabbix_export:
value: Asterisk
triggers:
-
+ uuid: c8d6abc855ac4606b919c0639a03d819
expression: '(last(/Asterisk by HTTP/asterisk.version,#1)<>last(/Asterisk by HTTP/asterisk.version,#2))=1 and length(last(/Asterisk by HTTP/asterisk.version))>0'
name: 'Asterisk: Version has changed (new version: {ITEM.VALUE})'
priority: INFO
description: 'Asterisk version has changed. Ack to close.'
manual_close: 'YES'
-
+ uuid: 09102393dc6a4ac598f02d95801c6ca0
name: 'Asterisk: Service response time'
type: SIMPLE
key: 'net.tcp.service.perf["tcp","{HOST.CONN}","{$AMI.PORT}"]'
@@ -723,6 +751,7 @@ zabbix_export:
value: Asterisk
triggers:
-
+ uuid: 5b74d5eeda6d4b2994e68330bca5cdc3
expression: 'min(/Asterisk by HTTP/net.tcp.service.perf["tcp","{HOST.CONN}","{$AMI.PORT}"],5m)>{$AMI.RESPONSE_TIME.MAX.WARN}'
name: 'Asterisk: Service response time is too high (over {$AMI.RESPONSE_TIME.MAX.WARN} for 5m)'
priority: WARNING
@@ -732,6 +761,7 @@ zabbix_export:
name: 'Asterisk: Service is down'
expression: 'last(/Asterisk by HTTP/net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"])=0'
-
+ uuid: 58e18df6a5534395bf74d3babdb73170
name: 'Asterisk: Service status'
type: SIMPLE
key: 'net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"]'
@@ -750,18 +780,21 @@ zabbix_export:
value: Asterisk
triggers:
-
+ uuid: 1fa3370fa93f4d07a2c470f993096554
expression: 'last(/Asterisk by HTTP/net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"])=0'
name: 'Asterisk: Service is down'
priority: AVERAGE
manual_close: 'YES'
discovery_rules:
-
+ uuid: 3e7facc25a344cec8e384e8a9f8b372a
name: 'IAX peers discovery'
type: DEPENDENT
key: asterisk.iax_peers.discovery
delay: '0'
item_prototypes:
-
+ uuid: 72d71ec4fa2b4e88a03d25e3bbe8771a
name: 'IAX trunk "{#OBJECTNAME}": Active channels'
type: DEPENDENT
key: 'asterisk.iax.trunk.active_channels[{#OBJECTNAME}]'
@@ -781,11 +814,13 @@ zabbix_export:
value: 'Asterisk IAX trunks'
trigger_prototypes:
-
+ uuid: 3fa5b7ce6c2a43acbb3fc14c62ec0a19
expression: 'min(/Asterisk by HTTP/asterisk.iax.trunk.active_channels[{#OBJECTNAME}],10m)>={$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"}'
name: 'IAX trunk "{#OBJECTNAME}": Number of the IAX trunk "{#OBJECTNAME}" active channels is too high (over {$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"} for 10m)'
priority: WARNING
description: 'The IAX trunk may not be able to process new calls.'
-
+ uuid: bbde7e898b4b4d34b27308d6ddaf86fc
name: 'IAX trunk "{#OBJECTNAME}": Status'
type: DEPENDENT
key: 'asterisk.iax.trunk.status[{#OBJECTNAME}]'
@@ -816,6 +851,7 @@ zabbix_export:
value: 'Asterisk IAX trunks'
trigger_prototypes:
-
+ uuid: db595245acef4ec9b771c266c14100d2
expression: 'last(/Asterisk by HTTP/asterisk.iax.trunk.status[{#OBJECTNAME}])="UNKNOWN" or last(/Asterisk by HTTP/asterisk.iax.trunk.status[{#OBJECTNAME}])="UNREACHABLE"'
name: 'IAX trunk "{#OBJECTNAME}": IAX trunk {#OBJECTNAME} has a state {ITEM.VALUE}'
priority: AVERAGE
@@ -836,12 +872,14 @@ zabbix_export:
parameters:
- 1h
-
+ uuid: 1a123ca04c7544bfa823a39b8a9fe84c
name: 'PJSIP endpoints discovery'
type: DEPENDENT
key: asterisk.pjsip_endpoints.discovery
delay: '0'
item_prototypes:
-
+ uuid: ec8220a1aa814112908337a009f6fcac
name: 'PJSIP trunk "{#OBJECTNAME}": Active channels'
type: DEPENDENT
key: 'asterisk.pjsip.trunk.active_channels[{#OBJECTNAME}]'
@@ -861,11 +899,13 @@ zabbix_export:
value: 'Asterisk PJSIP trunks'
trigger_prototypes:
-
+ uuid: 51d9a622b5af4aebbe8492181f9decec
expression: 'min(/Asterisk by HTTP/asterisk.pjsip.trunk.active_channels[{#OBJECTNAME}],10m)>={$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"}'
name: 'PJSIP trunk "{#OBJECTNAME}": Number of the PJSIP trunk "{#OBJECTNAME}" active channels is too high (over {$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"} for 10m)'
priority: WARNING
description: 'The PJSIP trunk may not be able to process new calls.'
-
+ uuid: c364b2ac50344372b155cbb98d9a7afe
name: 'PJSIP trunk "{#OBJECTNAME}": Device state'
type: DEPENDENT
key: 'asterisk.pjsip.trunk.devicestate[{#OBJECTNAME}]'
@@ -895,6 +935,7 @@ zabbix_export:
value: 'Asterisk PJSIP trunks'
trigger_prototypes:
-
+ uuid: 6f31d886d6954b82874d38646b233689
expression: 'last(/Asterisk by HTTP/asterisk.pjsip.trunk.devicestate[{#OBJECTNAME}])="Unavailable"'
name: 'PJSIP trunk "{#OBJECTNAME}": PJSIP trunk {#OBJECTNAME} has a state Unavailable'
priority: AVERAGE
@@ -915,12 +956,14 @@ zabbix_export:
parameters:
- 1h
-
+ uuid: 5a936a95d62f4b50a4f3db112a3e041f
name: 'Queues discovery'
type: DEPENDENT
key: asterisk.queues.discovery
delay: '0'
item_prototypes:
-
+ uuid: c16d9df72ba749369726d4cfcc8b4f40
name: '"{#QUEUE}": Available'
type: DEPENDENT
key: 'asterisk.queue.available[{#QUEUE}]'
@@ -939,6 +982,7 @@ zabbix_export:
tag: Application
value: 'Asterisk queue "{#QUEUE}"'
-
+ uuid: c271c7d76b2e49dea386bb08d60307d0
name: '"{#QUEUE}": Callers'
type: DEPENDENT
key: 'asterisk.queue.callers[{#QUEUE}]'
@@ -958,11 +1002,13 @@ zabbix_export:
value: 'Asterisk queue "{#QUEUE}"'
trigger_prototypes:
-
+ uuid: e17f80e691b143e6918a73b6d4c3e764
expression: 'min(/Asterisk by HTTP/asterisk.queue.callers[{#QUEUE}],10m)>{$AMI.QUEUE_CALLERS.MAX.WARN:"{#QUEUE}"}'
name: '"{#QUEUE}": Number of callers in the queue "{#QUEUE}" is too high (over {$AMI.QUEUE_CALLERS.MAX.WARN:"{#QUEUE}"} for 10m)'
priority: WARNING
description: 'There is a large number of calls in the queue.'
-
+ uuid: 8319ec55cf6f4e8590f180f1a81f37ed
name: '"{#QUEUE}": Logged in'
type: DEPENDENT
key: 'asterisk.queue.loggedin[{#QUEUE}]'
@@ -996,12 +1042,14 @@ zabbix_export:
parameters:
- 1h
-
+ uuid: 675fc5b11cb1482db0c539dfb9100e75
name: 'SIP peers discovery'
type: DEPENDENT
key: asterisk.sip_peers.discovery
delay: '0'
item_prototypes:
-
+ uuid: 9043578864494b13b249ee7bdf13820d
name: 'SIP trunk "{#OBJECTNAME}": Active channels'
type: DEPENDENT
key: 'asterisk.sip.trunk.active_channels[{#OBJECTNAME}]'
@@ -1021,11 +1069,13 @@ zabbix_export:
value: 'Asterisk SIP trunks'
trigger_prototypes:
-
+ uuid: ec523b8955b34bdda46a970c15cf4639
expression: 'min(/Asterisk by HTTP/asterisk.sip.trunk.active_channels[{#OBJECTNAME}],10m)>={$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"}'
name: 'SIP trunk "{#OBJECTNAME}": Number of the SIP trunk "{#OBJECTNAME}" active channels is too high (over {$AMI.TRUNK_ACTIVE_CHANNELS.MAX.WARN:"{#OBJECTNAME}"} for 10m)'
priority: WARNING
description: 'The SIP trunk may not be able to process new calls.'
-
+ uuid: df33da749e874f55be5f0c33cd201f62
name: 'SIP trunk "{#OBJECTNAME}": Status'
type: DEPENDENT
key: 'asterisk.sip.trunk.status[{#OBJECTNAME}]'
@@ -1056,6 +1106,7 @@ zabbix_export:
value: 'Asterisk SIP trunks'
trigger_prototypes:
-
+ uuid: 39cac88e9263470da6e4b1a08f806c58
expression: 'last(/Asterisk by HTTP/asterisk.sip.trunk.status[{#OBJECTNAME}])="UNKNOWN" or last(/Asterisk by HTTP/asterisk.sip.trunk.status[{#OBJECTNAME}])="UNREACHABLE"'
name: 'SIP trunk "{#OBJECTNAME}": SIP trunk {#OBJECTNAME} has a state {ITEM.VALUE}'
priority: AVERAGE
@@ -1110,6 +1161,7 @@ zabbix_export:
description: 'The Asterisk Manager name.'
valuemaps:
-
+ uuid: d6e38832f2d44ec0bf6761e36fd7668f
name: 'Service state'
mappings:
-
@@ -1120,6 +1172,7 @@ zabbix_export:
newvalue: Up
graphs:
-
+ uuid: 92b561a0aee24da9a7d9875f2293316d
name: 'Asterisk: Calls stats'
graph_items:
-
@@ -1141,6 +1194,7 @@ zabbix_export:
host: 'Asterisk by HTTP'
key: asterisk.calls_processed.rate
-
+ uuid: 0e5d56155a1240108a4ffc2f3dc041be
name: 'Asterisk: IAX peers'
graph_items:
-
@@ -1161,6 +1215,7 @@ zabbix_export:
host: 'Asterisk by HTTP'
key: asterisk.iax.unmonitored
-
+ uuid: fd5b051daaf64df89856bec400bbc3a0
name: 'Asterisk: PJSIP peers'
graph_items:
-
@@ -1175,6 +1230,7 @@ zabbix_export:
host: 'Asterisk by HTTP'
key: asterisk.pjsip.unavailable
-
+ uuid: 2781590218fe4cc9ade68446e5d11aa2
name: 'Asterisk: SIP peers'
graph_items:
-