Skip to content

Commit

Permalink
Merge pull request laradji#167 from ftclausen/cache_size_tunable
Browse files Browse the repository at this point in the history
Make "CacheSize" value configurable.
  • Loading branch information
laradji committed Jun 11, 2014
2 parents c03133e + 592271b commit 362e1c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions attributes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@

default['zabbix']['server']['timeout'] = '3'
default['zabbix']['server']['value_cache_size'] = '8M' # default 8MB
default['zabbix']['server']['cache_size'] = '8M' # default 8MB
1 change: 1 addition & 0 deletions templates/default/zabbix_server.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ StartPollers=<%= node['zabbix']['server']['start_pollers']%>
ExternalScripts=<%= node['zabbix']['server']['externalscriptspath'] %>
Timeout=<%= node['zabbix']['server']['timeout']%>
ValueCacheSize=<%= node['zabbix']['server']['value_cache_size'] %>
CacheSize=<%= node['zabbix']['server']['cache_size'] %>

0 comments on commit 362e1c7

Please sign in to comment.