fuel-library/deployment/puppet/zabbix/templates/zabbix_agentd.conf.erb
Stanislaw Bogatkin a84b5f1da6 Add zabbix agent logs into diagnostic snapshot
Change-Id: Ib8fdf67c8355de456efb13b0901fba2e5efc8e7c
Closes-Bug: #1439721
2015-04-06 13:37:30 +03:00

41 lines
1002 B
Plaintext

### Managed by Puppet ###
# Fake server declaration to enforce running agent without
# separate server declaration in /etc/zabbix/zabbix_agent.d/server.conf
Server=<%= scope.lookupvar('zabbix::params::server_ip') %>
ServerActive=<%= scope.lookupvar('zabbix::params::server_ip') %>
# Server port for sending active checks
#ServerPort=<%= scope.lookupvar('zabbix::params::server_listen_port') %>
Hostname=<%= @fqdn %>
ListenPort=<%= scope.lookupvar('zabbix::params::agent_listen_port') %>
#ListenIP=<%= scope.lookupvar('zabbix::params::agent_listen_ip') %>
#SourceIP=<%= scope.lookupvar('zabbix::params::agent_source_ip') %>
StartAgents=5
#RefreshActiveChecks=120
#DisableActive=1
#EnableRemoteCommands=1
DebugLevel=3
PidFile=<%= scope.lookupvar('zabbix::params::agent_pid_file') %>
# Name of log file
# If not set, syslog is used
#LogFile=<%= scope.lookupvar('zabbix::params::agent_log_file') %>
#LogFileSize=1
Timeout=10
Include=<%= scope.lookupvar('zabbix::params::agent_include') %>