mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
(plugin) network::nortel::standard::snmp - incorrect temperature (#3590)
This commit is contained in:
parent
fbe0fa7c78
commit
2160014b90
@ -53,7 +53,7 @@ sub check_s5 {
|
|||||||
next if ($self->check_filter(section => 'temperature', instance => $instance));
|
next if ($self->check_filter(section => 'temperature', instance => $instance));
|
||||||
$self->{components}->{temperature}->{total}++;
|
$self->{components}->{temperature}->{total}++;
|
||||||
|
|
||||||
$result->{s5ChasTmpSnrTmpValue} = sprintf("%.2f", $result->{value} / 2);
|
$result->{value} = sprintf("%.2f", $result->{value} / 2);
|
||||||
$self->{output}->output_add(
|
$self->{output}->output_add(
|
||||||
long_msg => sprintf(
|
long_msg => sprintf(
|
||||||
"temperature '%s' is %s degree centigrade [instance: %s]",
|
"temperature '%s' is %s degree centigrade [instance: %s]",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user