Add monitoring role and playbook for zabbix agent2 (incl. docker config)

This commit is contained in:
DerLinkman
2026-07-18 00:07:59 +02:00
parent 7455a021ea
commit 39511ed69f
11 changed files with 166 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
---
- name: Stop playbook if system is not Debian
ansible.builtin.fail:
msg: "This role only supports Debian."
when: ansible_facts['os_family'] != "Debian"
- name: Ensure Zabbix passive servers are defined
ansible.builtin.assert:
that:
- monitoring_zabbix_passive_servers | length > 0
fail_msg: "Set monitoring_zabbix_passive_servers to the IPs, CIDRs or DNS names allowed to query the agent."