From f12a7384a35c5678d91b52034429e8dea974dcfa Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Tue, 5 Feb 2019 15:01:21 +0100 Subject: [PATCH] fix short message when not ok for instances --- centreon/plugins/templates/counter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/templates/counter.pm b/centreon/plugins/templates/counter.pm index 7aa7bb82d..44196ce7d 100644 --- a/centreon/plugins/templates/counter.pm +++ b/centreon/plugins/templates/counter.pm @@ -295,7 +295,7 @@ sub run_instances { if (!$self->{output}->is_status(litteral => 1, value => $exit, compare => 'ok')) { $self->{output}->output_add(severity => $exit, - short_msg => $prefix_output . $long_msg . $suffix_output); + short_msg => $prefix_output . $short_msg . $suffix_output); } if ($self->{multiple} == 0) {