fixing blank output (#4011)

This commit is contained in:
lchrdn 2022-10-21 15:42:56 +02:00 committed by GitHub
parent e7c65871b2
commit 19433b72e1
1 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ sub set_counters {
my ($self, %options) = @_;
$self->{maps_counters_type} = [
{ name => 'features', type => 3, cb_long_output => 'features_long_output', indent_long_output => ' ', message_multiple => 'All features are OK.',
{ name => 'features', type => 3, cb_long_output => 'features_long_output', indent_long_output => ' ',
group => [
{ name => 'file-monitor-input', type => 0, display_short => 0, skipped_code => { -10 => 1 } },
{ name => 'index-processor', type => 0, display_short => 0, skipped_code => { -10 => 1 } },
@ -99,7 +99,8 @@ sub manage_selection {
status => $feature->{global_health}
};
}
$self->{output}->output_add(severity => 'OK', short_msg => 'All features are OK.');
}
1;