cookbook-zabbix/attributes/default.rb

25 lines
965 B
Ruby
Raw Normal View History

default['zabbix']['database']['backend'] = 'postgresql'
default['zabbix']['database']['repo']['pgdg'] = false
default['zabbix']['webserver']['backend'] = 'apache'
default['zabbix']['php']['use_fpm'] = true
default['zabbix']['php']['timezone'] = 'America/New_York'
2017-02-07 01:02:03 -05:00
default['zabbix']['version'] = "3.0"
default['zabbix']['agent_meta'] = []
if node.run_list?('recipe[zabbix::server]')
default['zabbix']['agent_servers'] = ['127.0.0.1']
elsif node.run_list?('recipe[zabbix::proxy]')
default['zabbix']['agent_servers'] = ['127.0.0.1']
else
default['zabbix']['agent_servers'] = ['127.0.0.1']
end
default['zabbix']['trap_scripts']['live']['add'] = []
default['zabbix']['trap_scripts']['live']['del'] = []
default['zabbix']['trap_scripts']['daily']['add'] = []
default['zabbix']['trap_scripts']['daily']['del'] = []
default['zabbix']['httpd_conf']['https_redirection_enabled'] = true
default['letsencrypt']['enabled'] = false
default['lba_host'] = 'default'