forked from infra/ansible
Add cluster monitoring to rabbitmq03 in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
13c67bd1c2
commit
2519e23c78
1 changed files with 6 additions and 0 deletions
|
|
@ -80,3 +80,9 @@
|
|||
host_groups: RabbitMQ servers
|
||||
link_templates: RabbitMQ Monitoring
|
||||
force: false
|
||||
- name: Add cluster monitoring to rabbitmq03 in Zabbix
|
||||
community.zabbix.zabbix_host:
|
||||
host_name: "{{ inventory_hostname }}"
|
||||
link_templates: RabbitMQ Cluster
|
||||
force: false
|
||||
when: "inventory_hostname.startswith('rabbitmq03') and env == 'staging'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue