From 619e22a0f7e723aa9e736fc1d8667c429406cd43 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 12 Oct 2015 14:47:18 +0200 Subject: [PATCH] +add offset reference in plugin.pm Add a line for offset mode --- centreon-plugins/apps/protocols/ntp/plugin.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centreon-plugins/apps/protocols/ntp/plugin.pm b/centreon-plugins/apps/protocols/ntp/plugin.pm index 9147f005e..6b659809e 100644 --- a/centreon-plugins/apps/protocols/ntp/plugin.pm +++ b/centreon-plugins/apps/protocols/ntp/plugin.pm @@ -32,7 +32,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'response-time' => 'apps::protocols::ntp::mode::responsetime', + 'response-time' => 'apps::protocols::ntp::mode::responsetime', + 'offset' => 'apps::protocols::ntp::mode::offset', ); return $self;