Do not send cluster AFDs to Nagios

Change-Id: Ic74a79452f79cdd9774246b1d2c39cc4a0a0b30c
This commit is contained in:
Swann Croiset 2016-10-13 10:13:37 +02:00
parent 8db734a584
commit a88bea8558
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ define lma_collector::afd_nagios(
$matcher = join(["Fields[${lma_collector::params::aggregator_flag}] == NIL",
"Type == 'heka.sandbox.${message_type}'",
'Fields[no_alerting] == NIL'], ' && ')
'Fields[no_alerting] == NIL',
'Fields[hostname] != NIL'], ' && ')
heka::output::http { "nagios_afd_${title}":
ensure => $ensure,