From 69b47cece223ed496eabe43a6271ce15aa5da0b3 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 12 Oct 2015 14:50:56 +0200 Subject: [PATCH] +complete long output ... --- apps/protocols/ntp/mode/offset.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/protocols/ntp/mode/offset.pm b/apps/protocols/ntp/mode/offset.pm index 0c53f0766..998006944 100644 --- a/apps/protocols/ntp/mode/offset.pm +++ b/apps/protocols/ntp/mode/offset.pm @@ -83,7 +83,7 @@ sub run { threshold => [ { label => 'critical', 'exit_litteral' => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]); $self->{output}->output_add(severity => $exit, short_msg => sprintf("Offset: %.3fs", $offset)); - $self->{output}->output_add(long_msg => sprintf("Host has %.5fs with its time server reference %s", $offset, $self->{option_results}->{ntp_host})); + $self->{output}->output_add(long_msg => sprintf("Host has an offset of %.5fs with its time server reference %s", $offset, $self->{option_results}->{ntp_host})); $self->{output}->perfdata_add(label => "time", value => sprintf('%.3f', $offset),