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/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml')
-rw-r--r--templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml62
1 files changed, 29 insertions, 33 deletions
diff --git a/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml b/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml
index 879e25ee456..a6576e76ec5 100644
--- a/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml
+++ b/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml
@@ -1,7 +1,7 @@
zabbix_export:
version: '6.2'
- date: '2022-04-06T19:59:26Z'
- groups:
+ date: '2022-06-07T19:36:39Z'
+ 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 Zabbix 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:
-
@@ -1099,7 +1097,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: alarms in effect in the cluster{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.CLUSTER_HOST}:{$RABBITMQ.API.PORT}/api/health/checks/alarms{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Responds a 200 OK if there are no alarms in effect in the cluster, otherwise responds with a 503 Service Unavailable.'
@@ -1157,8 +1155,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:
-
@@ -1214,8 +1212,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Messages'
host: 'RabbitMQ cluster by Zabbix agent'
+ name: 'RabbitMQ: Messages'
-
type: GRAPH_CLASSIC
x: '12'
@@ -1230,8 +1228,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Connections'
host: 'RabbitMQ cluster by Zabbix agent'
+ name: 'RabbitMQ: Connections'
-
type: GRAPH_CLASSIC
'y': '5'
@@ -1246,8 +1244,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Messages status'
host: 'RabbitMQ cluster by Zabbix agent'
+ name: 'RabbitMQ: Messages status'
-
type: GRAPH_CLASSIC
x: '12'
@@ -1263,8 +1261,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Queues'
host: 'RabbitMQ cluster by Zabbix agent'
+ name: 'RabbitMQ: Queues'
-
type: GRAPH_CLASSIC
'y': '10'
@@ -1279,8 +1277,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Messages per second'
host: 'RabbitMQ cluster by Zabbix agent'
+ name: 'RabbitMQ: Messages per second'
valuemaps:
-
uuid: 78275d6daacf42b4b97e3d806dfe81fe
@@ -1302,8 +1300,6 @@ zabbix_export:
description: |
Get node metrics from RabbitMQ management plugin provided an HTTP-based API using Zabbix 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:
-
@@ -1833,7 +1829,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:
-
@@ -1977,8 +1973,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: 3c0021a3e57142eb806deb5b47b6700a
@@ -1993,7 +1989,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: expiration date on the certificates{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/certificate-expiration/1/months{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Checks the expiration date on the certificates for every listener configured to use TLS. Responds a 200 OK if all certificates are valid (have not expired), otherwise responds with a 503 Service Unavailable.'
@@ -2043,7 +2039,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: local alarms in effect on this node{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/local-alarms{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Responds a 200 OK if there are no local alarms in effect on the target node, otherwise responds with a 503 Service Unavailable.'
@@ -2093,7 +2089,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: classic mirrored queues without synchronized mirrors online{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/node-is-mirror-sync-critical{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Checks if there are classic mirrored queues without synchronized mirrors online (queues that would potentially lose data if the target node is shut down). Responds a 200 OK if there are no such classic mirrored queues, otherwise responds with a 503 Service Unavailable.'
@@ -2143,7 +2139,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: queues with minimum online quorum{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/node-is-quorum-critical{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Checks if there are quorum queues with minimum online quorum (queues that would lose their quorum and availability if the target node is shut down). Responds a 200 OK if there are no such quorum queues, otherwise responds with a 503 Service Unavailable.'
@@ -2193,7 +2189,7 @@ zabbix_export:
name: 'RabbitMQ: Healthcheck: virtual hosts on this node{#SINGLETON}'
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/virtual-hosts{#SINGLETON}"]'
history: 7d
- authtype: NONE
+ authtype: BASIC
username: '{$RABBITMQ.API.USER}'
password: '{$RABBITMQ.API.PASSWORD}'
description: 'Responds a 200 OK if all virtual hosts and running on the target node, otherwise responds with a 503 Service Unavailable.'
@@ -2250,8 +2246,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: d1d32fc6ae1f445a98144a31214ca825
@@ -2875,14 +2871,14 @@ zabbix_export:
key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/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
@@ -2953,8 +2949,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Node status'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: Node status'
-
type: GRAPH_CLASSIC
x: '12'
@@ -2969,8 +2965,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Uptime'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: Uptime'
-
type: GRAPH_CLASSIC
'y': '5'
@@ -2985,8 +2981,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Disk free'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: Disk free'
-
type: GRAPH_CLASSIC
x: '12'
@@ -3002,8 +2998,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Memory used'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: Memory used'
-
type: GRAPH_CLASSIC
'y': '10'
@@ -3018,8 +3014,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: File descriptors'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: File descriptors'
-
type: GRAPH_CLASSIC
x: '12'
@@ -3035,8 +3031,8 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- name: 'RabbitMQ: Sockets'
host: 'RabbitMQ node by Zabbix agent'
+ name: 'RabbitMQ: Sockets'
valuemaps:
-
uuid: ce579def20ac488dbce1ff69baaa8c50