From fe0cb042cba5a9be4428284722927d715c657c5f Mon Sep 17 00:00:00 2001 From: CPbN <40244829+CPbN@users.noreply.github.com> Date: Tue, 14 Jan 2020 19:08:32 +0100 Subject: [PATCH] 3 redefined lines --- centreon-plugins/database/influxdb/custom/api.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/centreon-plugins/database/influxdb/custom/api.pm b/centreon-plugins/database/influxdb/custom/api.pm index 9324695dd..e2527c9b7 100644 --- a/centreon-plugins/database/influxdb/custom/api.pm +++ b/centreon-plugins/database/influxdb/custom/api.pm @@ -125,9 +125,6 @@ sub build_options_for_httplib { $self->{option_results}->{port} = $self->{port}; $self->{option_results}->{proto} = $self->{proto}; $self->{option_results}->{timeout} = $self->{timeout}; - $self->{option_results}->{warning_status} = ''; - $self->{option_results}->{critical_status} = ''; - $self->{option_results}->{unknown_status} = '%{http_code} < 200 or %{http_code} >= 300'; if (defined($self->{username}) && $self->{username} ne '') { $self->{option_results}->{credentials} = 1;