diff options
author | Andrew Biba <andrew.biba@zabbix.com> | 2022-06-07 23:32:37 +0300 |
---|---|---|
committer | Andrew Biba <andrew.biba@zabbix.com> | 2022-06-07 23:32:37 +0300 |
commit | 24236a893e0037d71eefe61e621486433ab81c20 (patch) | |
tree | 5990290103a2861307c0f2903204cee6b22a5d6a /templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml | |
parent | 4b8e6b21b37de3bce14bc55ca90d6d6cda00ab0b (diff) |
.........T [ZBXNEXT-7596] updated templates for 6.2 version (template_groups and host_groups properties)
Diffstat (limited to 'templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml')
-rw-r--r-- | templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml b/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml index 21ca1a1ffc9..2301f7a8f15 100644 --- a/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml +++ b/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:27Z' - groups: + date: '2022-06-07T19:36:40Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -13,8 +13,6 @@ zabbix_export: description: | Get cluster metrics from RabbitMQ management plugin provided an HTTP-based API using HTTP agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1156,8 +1154,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); tags: - @@ -1209,8 +1207,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages' - type: GRAPH_CLASSIC x: '12' @@ -1225,8 +1223,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Connections' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Connections' - type: GRAPH_CLASSIC 'y': '5' @@ -1241,8 +1239,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages status' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages status' - type: GRAPH_CLASSIC x: '12' @@ -1258,8 +1256,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Queues' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Queues' - type: GRAPH_CLASSIC 'y': '10' @@ -1274,8 +1272,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages per second' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages per second' valuemaps: - uuid: 3380e05a15774dad92e77c983448698b @@ -1297,8 +1295,6 @@ zabbix_export: description: | Get node metrics from RabbitMQ management plugin provided an HTTP-based API using HTTP agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1835,7 +1831,7 @@ zabbix_export: name: 'RabbitMQ: has been restarted' event_name: 'RabbitMQ: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1905,8 +1901,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version < 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: ab89d103c015400fbbeecaaf9bf01400 @@ -2188,8 +2184,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: cc1d85b6045b44b38f588cd9a4c6c62d @@ -2813,14 +2809,14 @@ zabbix_export: key: rabbitmq.get_queues lld_macro_paths: - + lld_macro: '{#NODE}' + path: $.node + - lld_macro: '{#QUEUE}' path: $.name - lld_macro: '{#VHOST}' path: $.vhost - - - lld_macro: '{#NODE}' - path: $.node tags: - tag: class @@ -2883,8 +2879,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Node status' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Node status' - type: GRAPH_CLASSIC x: '12' @@ -2899,8 +2895,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Uptime' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Uptime' - type: GRAPH_CLASSIC 'y': '5' @@ -2915,8 +2911,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Disk free' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Disk free' - type: GRAPH_CLASSIC x: '12' @@ -2932,8 +2928,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Memory used' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Memory used' - type: GRAPH_CLASSIC 'y': '10' @@ -2948,8 +2944,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: File descriptors' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: File descriptors' - type: GRAPH_CLASSIC x: '12' @@ -2965,8 +2961,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Sockets' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Sockets' valuemaps: - uuid: e65c3d3e8ea443a281b37c51ca461c26 |