Commit 63622928 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Update zabbix agent config for buster

With buster the path to zabbix agent config files changed from
/etc/zabbix/zabbix_agentd.d/ to /etc/zabbix/zabbix_agent.conf.d/.
Also, the log directory changed from /var/log/zabbix/ to
/var/log/zabbix_agent, but after this change the agent logs to stdout
(journald) instead.
parent a41da22c
......@@ -20,7 +20,7 @@ PidFile=/var/run/zabbix/zabbix_agentd.pid
#
# Mandatory: no
# Default:
# LogType=file
LogType=console
### Option: LogFile
# Log file name for LogType 'file' parameter.
......@@ -29,7 +29,7 @@ PidFile=/var/run/zabbix/zabbix_agentd.pid
# Default:
# LogFile=
LogFile=/var/log/zabbix/zabbix_agentd.log
#LogFile=/var/log/zabbix/zabbix_agentd.log
### Option: LogFileSize
# Maximum size of log file in MB.
......@@ -262,7 +262,11 @@ Hostname={{ ansible_fqdn }}
# Default:
# Include=
{% if ansible_distribution_major_version is version("10", ">=") %}
Include=/etc/zabbix/zabbix_agentd.conf.d/
{% else %}
Include=/etc/zabbix/zabbix_agentd.d/
{% endif %}
# Include=/usr/local/etc/zabbix_agentd.userparams.conf
# Include=/usr/local/etc/zabbix_agentd.conf.d/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment