From 613499d0d5be28f3c2e70a0bddd902672c5f138c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Sat, 31 Dec 2016 14:02:31 +0100 Subject: [PATCH] + Fix #576 --- hardware/pdu/apc/snmp/mode/components/humidity.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/pdu/apc/snmp/mode/components/humidity.pm b/hardware/pdu/apc/snmp/mode/components/humidity.pm index aa1225fa8..517ec7b56 100644 --- a/hardware/pdu/apc/snmp/mode/components/humidity.pm +++ b/hardware/pdu/apc/snmp/mode/components/humidity.pm @@ -86,7 +86,7 @@ sub check { } if (defined($result->{rPDU2SensorTempHumidityStatusRelativeHumidity}) && $result->{rPDU2SensorTempHumidityStatusRelativeHumidity} =~ /[0-9]/) { - my $value = $result->{rPDU2SensorTempHumidityStatusRelativeHumidity} / 10; + my $value = $result->{rPDU2SensorTempHumidityStatusRelativeHumidity}; my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'humidity', instance => $result->{rPDU2SensorTempHumidityStatusNumber}, value => $value); if (!$self->{output}->is_status(value => $exit2, compare => 'ok', litteral => 1)) { $self->{output}->output_add(severity => $exit2,