Adding support for sensu as alerting destination
The AFD and GSE metrics are sent by the aggregator to local sensu-client.
A sensu-client client should be running on all nodes though (not only the
aggregator) for the sensu integrtion to work correctly.
diff --git a/metadata/service/aggregator/output/nagios.yml b/metadata/service/aggregator/output/nagios.yml
new file mode 100644
index 0000000..7c30db1
--- /dev/null
+++ b/metadata/service/aggregator/output/nagios.yml
@@ -0,0 +1,5 @@
+parameters:
+ heka:
+ aggregator:
+ nagios_host_dimension_key: nagios_host
+ nagios_host: ${_param:nagios_host}
\ No newline at end of file
diff --git a/metadata/service/aggregator/output/sensu.yml b/metadata/service/aggregator/output/sensu.yml
new file mode 100644
index 0000000..bd5e55a
--- /dev/null
+++ b/metadata/service/aggregator/output/sensu.yml
@@ -0,0 +1,5 @@
+parameters:
+ heka:
+ aggregator:
+ sensu_source_dimension_key: nagios_host
+ sensu_host: 127.0.0.1
\ No newline at end of file
diff --git a/metadata/service/aggregator/single.yml b/metadata/service/aggregator/single.yml
index 159e5bd..bf2364e 100644
--- a/metadata/service/aggregator/single.yml
+++ b/metadata/service/aggregator/single.yml
@@ -5,11 +5,9 @@
parameters:
_param:
aggregator_poolsize: 100
- nagios_host_dimension_key: nagios_host
heka:
aggregator:
automatic_starting: true
enabled: true
influxdb_time_precision: ms
- poolsize: ${_param:aggregator_poolsize}
- nagios_host_dimension_key: ${_param:nagios_host_dimension_key}
+ poolsize: ${_param:aggregator_poolsize}
\ No newline at end of file