diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/collectd/client | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/collectd/client')
3 files changed, 33 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/collectd/client/local.yml b/mcp/reclass/classes/system/collectd/client/local.yml new file mode 100644 index 000000000..b1c88431b --- /dev/null +++ b/mcp/reclass/classes/system/collectd/client/local.yml @@ -0,0 +1,2 @@ +classes: +- service.collectd.client diff --git a/mcp/reclass/classes/system/collectd/client/output/carbon.yml b/mcp/reclass/classes/system/collectd/client/output/carbon.yml new file mode 100644 index 000000000..47e8c73dc --- /dev/null +++ b/mcp/reclass/classes/system/collectd/client/output/carbon.yml @@ -0,0 +1,14 @@ +classes: +- service.collectd.client +parameters: + _param: + collectd_backend_carbon_host: localhost + collectd_backend_carbon_port: 2003 + collectd: + client: + enabled: true + backend: + carbon: + engine: carbon + host: ${_param:collectd_backend_carbon_host} + port: ${_param:collectd_backend_carbon_port}
\ No newline at end of file diff --git a/mcp/reclass/classes/system/collectd/client/output/heka.yml b/mcp/reclass/classes/system/collectd/client/output/heka.yml new file mode 100644 index 000000000..9550961ca --- /dev/null +++ b/mcp/reclass/classes/system/collectd/client/output/heka.yml @@ -0,0 +1,17 @@ +classes: +- service.collectd.client +parameters: + _param: + collectd_metric_collector_host: 127.0.0.1 + collectd_metric_collector_port: 8325 + collectd: + client: + enabled: true + backend: + metric_collector: + engine: http + host: ${_param:collectd_metric_collector_host} + port: ${_param:collectd_metric_collector_port} + read_interval: 10 + use_fqdn: false + syslog_logging: false |