Merge "Do not send cluster AFDs to Nagios"

This commit is contained in:
Jenkins 2016-10-13 15:17:57 +00:00 committed by Gerrit Code Review
commit b064db32b5
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,