From 70da414ff2b37c5d2a064a413867a208c4bf86f0 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 29 Sep 2017 11:26:37 +0200 Subject: [PATCH] fix typo --- apps/java/awa/jmx/mode/agent.pm | 2 +- apps/java/awa/jmx/mode/server.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/java/awa/jmx/mode/agent.pm b/apps/java/awa/jmx/mode/agent.pm index cbfb440dc..0c83a08c4 100644 --- a/apps/java/awa/jmx/mode/agent.pm +++ b/apps/java/awa/jmx/mode/agent.pm @@ -56,7 +56,7 @@ sub custom_status_threshold { sub custom_status_output { my ($self, %options) = @_; - my $msg = 'active : ' . $self->{result_values}->{active} . '[IpAddress: ' . $self->{result_values}->{ipaddress} . ' ]' . + my $msg = 'active : ' . $self->{result_values}->{active} . ' [IpAddress: ' . $self->{result_values}->{ipaddress} . ' ]' . '[LastCheck: ' . centreon::plugins::misc::change_seconds(value => $self->{result_values}->{since}) . ']'; return $msg; } diff --git a/apps/java/awa/jmx/mode/server.pm b/apps/java/awa/jmx/mode/server.pm index f36975353..65f82c92d 100644 --- a/apps/java/awa/jmx/mode/server.pm +++ b/apps/java/awa/jmx/mode/server.pm @@ -55,7 +55,7 @@ sub custom_status_threshold { sub custom_status_output { my ($self, %options) = @_; - my $msg = 'active : ' . $self->{result_values}->{active} . '[IpAddress: ' . $self->{result_values}->{ipaddress} . ' ]'; + my $msg = 'active : ' . $self->{result_values}->{active} . ' [IpAddress: ' . $self->{result_values}->{ipaddress} . ' ]'; return $msg; }