aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/gnocchi-statsd.yaml
diff options
context:
space:
mode:
authorMartin Mágr <mmagr@redhat.com>2016-06-09 15:39:22 +0200
committerLars Kellogg-Stedman <lars@redhat.com>2016-08-31 09:22:59 -0400
commit25ad7b8e1eeeb0e1f5f83b9f7560502717b44536 (patch)
tree066bcc818e4bdbf412f876f1267ab9feb640b907 /puppet/services/gnocchi-statsd.yaml
parent1c0df5b42ab17be8a8d256247c77999acb5eecc7 (diff)
Availability monitoring agents support
- adds possibility to install sensu-client on all nodes - each composable service has it's own subscription Co-Authored-By: Emilien Macchi <emilien@redhat.com> Co-Authored-By: Michele Baldessari <michele@redhat.com> Implements: blueprint tripleo-opstools-availability-monitoring Change-Id: I6a215763fd0f0015285b3573305d18d0f56c7770
Diffstat (limited to 'puppet/services/gnocchi-statsd.yaml')
-rw-r--r--puppet/services/gnocchi-statsd.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-statsd.yaml b/puppet/services/gnocchi-statsd.yaml
index 018ad2b1..04339f46 100644
--- a/puppet/services/gnocchi-statsd.yaml
+++ b/puppet/services/gnocchi-statsd.yaml
@@ -18,6 +18,9 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
+ MonitoringSubscriptionGnocchiStatsd:
+ default: 'overcloud-gnocchi-statsd'
+ type: string
resources:
GnocchiServiceBase:
@@ -32,6 +35,7 @@ outputs:
description: Role data for the Gnocchi role.
value:
service_name: gnocchi_statsd
+ monitoring_subscription: {get_param: MonitoringSubscriptionGnocchiStatsd}
config_settings:
map_merge:
- get_attr: [GnocchiServiceBase, role_data, config_settings]