mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
+ Fix #425
This commit is contained in:
parent
069d3a1f32
commit
a1752509b8
@ -81,6 +81,8 @@ sub check {
|
|||||||
short_msg => sprintf("Sensor '%s' status is '%s'", $name, $result->{EntityExtErrorStatus}));
|
short_msg => sprintf("Sensor '%s' status is '%s'", $name, $result->{EntityExtErrorStatus}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
next if (defined($result2->{EntityExtTemperature}) && $result2->{EntityExtTemperature} <= 0);
|
||||||
|
|
||||||
($exit, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'temperature', instance => $instance, value => $result2->{EntityExtTemperature});
|
($exit, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'temperature', instance => $instance, value => $result2->{EntityExtTemperature});
|
||||||
if ($checked == 0) {
|
if ($checked == 0) {
|
||||||
my $crit_th = '~:' . $result2->{EntityExtTemperatureThreshold};
|
my $crit_th = '~:' . $result2->{EntityExtTemperatureThreshold};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user