Add support for Sensu integration with StackLight
This patch deployes Sensu as a cluster and adds a StackLight client.
diff --git a/sensu/client/stacklight.yml b/sensu/client/stacklight.yml
new file mode 100644
index 0000000..b41ee77
--- /dev/null
+++ b/sensu/client/stacklight.yml
@@ -0,0 +1,8 @@
+classes:
+- service.sensu.client
+parameters:
+ _param:
+ sensu_message_queue_host: ${_param:stacklight_monitor_address}
+ sensu:
+ client:
+ metric_handlers: []
diff --git a/sensu/server/cluster.yml b/sensu/server/cluster.yml
new file mode 100644
index 0000000..28eb78b
--- /dev/null
+++ b/sensu/server/cluster.yml
@@ -0,0 +1,31 @@
+classes:
+- service.git.client
+- service.redis.server.single
+- service.rabbitmq.server.cluster
+- system.rabbitmq.server.vhost.monitoring
+- service.sensu.server.single
+parameters:
+ _param:
+ rabbitmq_secret_key: secret
+ rabbitmq_admin_password: password
+ rabbitmq_cold_password: password
+ rabbitmq_monitor_password: password
+ sensu_message_queue_host: ${_param:cluster_vip_address}
+ rabbitmq:
+ cluster:
+ name: 'monitoring'
+ redis:
+ server:
+ version: 3.0
+ bind:
+ address: ${_param:single_address}
+ cluster:
+ enabled: True
+ mode: sentinel
+ role: ${_param:redis_cluster_role}
+ quorum: 2
+ master:
+ host: ${_param:cluster_node01_address}
+ port: 6379
+ sentinel:
+ address: ${_param:single_address}