Commit c9ea1e4a authored by Eric Herot's avatar Eric Herot
Browse files

Set ActionQueueMaxDiskSpace in 49-Remote

parent c26feb2f
...@@ -39,6 +39,7 @@ default['rsyslog']['default_remote_template'] = nil ...@@ -39,6 +39,7 @@ default['rsyslog']['default_remote_template'] = nil
default['rsyslog']['rate_limit_interval'] = nil default['rsyslog']['rate_limit_interval'] = nil
default['rsyslog']['rate_limit_burst'] = nil default['rsyslog']['rate_limit_burst'] = nil
default['rsyslog']['enable_tls'] = false default['rsyslog']['enable_tls'] = false
default['rsyslog']['action_queue_max_disk_space'] = '1G'
default['rsyslog']['tls_ca_file'] = nil default['rsyslog']['tls_ca_file'] = nil
default['rsyslog']['tls_certificate_file'] = nil default['rsyslog']['tls_certificate_file'] = nil
default['rsyslog']['tls_key_file'] = nil default['rsyslog']['tls_key_file'] = nil
......
...@@ -3,6 +3,7 @@ $ActionQueueType LinkedList # use asynchronous processing ...@@ -3,6 +3,7 @@ $ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode $ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure $ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down $ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
$ActionQueueMaxDiskSpace <%= node['rsyslog']['action_queue_max_disk_space'] %> # Don't use more than this much space for the queue
<% if node['rsyslog']['enable_tls'] && node['rsyslog']['tls_ca_file'] -%> <% if node['rsyslog']['enable_tls'] && node['rsyslog']['tls_ca_file'] -%>
$DefaultNetstreamDriverCAFile <%= node['rsyslog']['tls_ca_file'] %> $DefaultNetstreamDriverCAFile <%= node['rsyslog']['tls_ca_file'] %>
<% if node['rsyslog']['tls_certificate_file'] -%> <% if node['rsyslog']['tls_certificate_file'] -%>
......
Supports Markdown
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