roles/zabbix: Add support for Debian
The *zabbix-agent* package for Debian locates configuration and log files differently from other distributions.
This commit is contained in:
@@ -28,7 +28,7 @@ PidFile={{ zabbix_run_dir.rstrip('/') }}/zabbix_agentd.pid
|
||||
# Default:
|
||||
# LogFile=
|
||||
|
||||
LogFile=/var/log/zabbix/zabbix_agentd.log
|
||||
LogFile={{ zbx_agent_log_dir }}/zabbix_agentd.log
|
||||
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
@@ -260,15 +260,15 @@ HostMetadataItem={{ zabbix_metadata_item }}
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /etc, unless modified during the compile time.
|
||||
# Installing Zabbix will create include directory in {{ zbx_agent_config_basedir }}, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
# Include=/etc/zabbix_agentd.userparams.conf
|
||||
# Include={{ zbx_agent_config_basedir }}/zabbix_agentd.userparams.conf
|
||||
Include={{ zbx_agent_config_dir }}
|
||||
# Include=/etc/zabbix_agentd.conf.d/*.conf
|
||||
# Include={{ zbx_agent_config_basedir }}/zabbix_agentd.conf.d/*.conf
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
|
||||
|
||||
Reference in New Issue
Block a user