From fa1cd46aa61fb0d9fc9ace506c735c5d8ce7cfcb Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Sun, 20 Nov 2016 17:40:04 +0100 Subject: [PATCH] + Fix #506 --- .../hardware/sensors/akcp/snmp/mode/components/humidity.pm | 1 - .../hardware/sensors/akcp/snmp/mode/components/temperature.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/humidity.pm b/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/humidity.pm index 27d0376b6..e9af67371 100644 --- a/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/humidity.pm +++ b/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/humidity.pm @@ -69,7 +69,6 @@ sub check { if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { $self->{output}->output_add(severity => $exit, short_msg => sprintf("Humdity '%s' status is '%s'", $result->{hhmsSensorArrayHumidityDescription}, $result->{hhmsSensorArrayHumidityStatus})); - next; } my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'humidity', instance => $instance, value => $result->{hhmsSensorArrayHumidityPercent}); diff --git a/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/temperature.pm b/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/temperature.pm index 20a4894ba..be65c7adb 100644 --- a/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/temperature.pm +++ b/centreon-plugins/hardware/sensors/akcp/snmp/mode/components/temperature.pm @@ -70,7 +70,6 @@ sub check { if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { $self->{output}->output_add(severity => $exit, short_msg => sprintf("Temperature '%s' status is '%s'", $result->{hhmsSensorArrayTempDescription}, $result->{hhmsSensorArrayTempStatus})); - next; } my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'temperature', instance => $instance, value => $result->{hhmsSensorArrayTempDegree});