INSIGHT-MVP/repos/INSIGHT-Infra/ansible/roles/zabbix_agent/templates/zabbix_agent2.conf.j2
Thomas Reitz 36196457ea feat(infra): vollständige Ansible-Struktur Phase 1
- Alle Ansible-Rollen erstellt: common, disk_setup, docker, postgresql,
  pgbouncer, redis, nginx, zabbix_agent
- ansible.cfg mit Pipeline-Optimierung
- hosts.yml mit echten IPs (DBS01=.20, APS01=.21, WEB01=.22)
- group_vars für alle Server (dbs, aps, web)
- Zabbix-Server auf sentinel.xinion.de gesetzt
- vault.yml.example als Vorlage für Secrets
- site.yml nutzt import_playbook (DBS01→APS01→WEB01)
- BRIEFING.md für alle 4 Repos angelegt (Platform, Apps, Infra, Shared)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:23:29 +01:00

27 lines
607 B
Django/Jinja

# zabbix_agent2.conf — Managed by Ansible (INSIGHT-Infra)
# Für {{ inventory_hostname }}
# Server (passive checks)
Server={{ zabbix_server }}
ServerActive={{ zabbix_server }}
# Hostname (muss im Zabbix Frontend übereinstimmen)
Hostname={{ zabbix_hostname_prefix | default('INSIGHT-') }}{{ inventory_hostname | upper }}
# Verbindung
ListenPort=10050
ListenIP=0.0.0.0
# Timeouts
Timeout=30
# Logging
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=10
DebugLevel=3
# Plugins
Plugins.SystemRun.LogRemoteCommands=1
# Include (für zusätzliche Checks)
Include=/etc/zabbix/zabbix_agent2.d/*.conf