(plugin) hardware::sensors::apc::snmp - mode sensors undefined humidity value (#4446)
This commit is contained in:
parent
abc3ff1c87
commit
4f8e3a2ea9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue