mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ Fix dlink temperature
This commit is contained in:
parent
a7b55e7efe
commit
51a59db45d
@ -65,7 +65,7 @@ sub check {
|
||||
next if ($self->check_exclude(section => 'temperature', instance => $instance));
|
||||
$self->{components}->{temperature}->{total}++;
|
||||
|
||||
$self->{output}->output_add(long_msg => sprintf("'%s' %s temperature is %dC.",
|
||||
$self->{output}->output_add(long_msg => sprintf("Temperature '%s' is %dC.",
|
||||
$instance, $result->{swTemperatureCurrent}));
|
||||
|
||||
my ($exit, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'temperature', instance => $instance, value => $result->{swTemperatureCurrent});
|
||||
|
Loading…
x
Reference in New Issue
Block a user