diff --git a/src/hardware/sensors/apc/snmp/mode/components/humidity.pm b/src/hardware/sensors/apc/snmp/mode/components/humidity.pm index fa955c468..b1c48ccc2 100644 --- a/src/hardware/sensors/apc/snmp/mode/components/humidity.pm +++ b/src/hardware/sensors/apc/snmp/mode/components/humidity.pm @@ -95,7 +95,7 @@ sub check_module_humidity { ); } - my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'humidity', instance => $instance, value => $result->{temp}); + my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'humidity', instance => $instance, value => $result->{humidity}); if (!$self->{output}->is_status(value => $exit2, compare => 'ok', litteral => 1)) { $self->{output}->output_add( severity => $exit2,