This commit is contained in:
garnier-quentin 2016-12-31 14:02:31 +01:00
parent 111e7830c9
commit 613499d0d5
1 changed files with 1 additions and 1 deletions

View File

@ -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,