+ Fix #576
This commit is contained in:
parent
111e7830c9
commit
613499d0d5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue