fuel-plugin-lma-collector/deployment_scripts/puppet/modules/heka/templates
Swann Croiset ebac150f8a Separate the (L)og of the LMA collector
This change separates the processing of the logs/notifications and
metric/alerting into 2 dedicated hekad processes, these services are
named 'log_collector' and 'metric_collector'.

Both services are managed by Pacemaker on controller nodes and by Upstart on
other nodes.

All metrics computed by log_collector (HTTP response times and creation time
for instances and volumes) are sent directly to the metric_collector via TCP.
Elasticsearch output (log_collector) uses full_action='block' and the
TCP output uses full_action='drop'.

All outputs of metric_collector (InfluxDB, HTTP and TCP) use
full_action='drop'.

The buffer size configurations are:
* metric_collector:
  - influxdb-output buffer size is increased to 1Gb.
  - aggregator-output (tcp) buffer size is decreased to 256Mb (vs 1Gb).
  - nagios outputs (x3) buffer size are decreased to 1Mb.
* log_collector:
  - elasticsearch-output buffer size is decreased to 256Mb (vs 1Gb).
  - tcp-output buffer size is set to 256Mb.

Implements: blueprint separate-lma-collector-pipelines
Fixes-bug: #1566748

Change-Id: Ieadb93b89f81e944e21cf8e5a65f4d683fd0ffb8
2016-05-04 14:34:14 +02:00
..
decoder Use a dedicated directory for Lua libraries 2016-04-28 21:24:07 +02:00
encoder Use a dedicated directory for Lua libraries 2016-04-28 21:24:07 +02:00
filter Use a dedicated directory for Lua libraries 2016-04-28 21:24:07 +02:00
input Add priority param to heka::input::logstreamer 2015-12-29 10:36:06 +01:00
output Use a dedicated directory for Lua libraries 2016-04-28 21:24:07 +02:00
splitter Initial import of the LMA collector plugin 2015-02-27 14:16:49 +01:00
global.toml.erb Separate the (L)og of the LMA collector 2016-05-04 14:34:14 +02:00
hekad.initd.erb Separate the (L)og of the LMA collector 2016-05-04 14:34:14 +02:00
hekad.upstart.conf.erb Separate the (L)og of the LMA collector 2016-05-04 14:34:14 +02:00
hekad_wrapper.erb Avoid forks when starting hekad 2016-03-24 09:52:12 +01:00
logrotate.conf.erb Rotate hekad logs every 30 minutes if necessary 2016-03-30 14:31:57 +02:00
logrotate.cron.erb Rotate hekad logs every 30 minutes if necessary 2016-03-30 14:31:57 +02:00