From 50562bba7fab1fad0e99c2d0e514c8ec879e87ba Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 24 May 2019 14:58:00 +0200 Subject: [PATCH] remove cisco standard sensors rounded --- .../common/cisco/standard/snmp/mode/components/sensor.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/centreon-plugins/centreon/common/cisco/standard/snmp/mode/components/sensor.pm b/centreon-plugins/centreon/common/cisco/standard/snmp/mode/components/sensor.pm index 65a428967..26c7c888f 100644 --- a/centreon-plugins/centreon/common/cisco/standard/snmp/mode/components/sensor.pm +++ b/centreon-plugins/centreon/common/cisco/standard/snmp/mode/components/sensor.pm @@ -204,7 +204,6 @@ sub check { $result->{entSensorValue} = defined($result->{entSensorValue}) ? $result->{entSensorValue} * (10 ** ($result->{entSensorScale}) * (10 ** -($result->{entSensorPrecision}))) : undef; - $result->{entSensorValue} = sprintf("%.2f", $result->{entSensorValue}); $self->{output}->output_add(long_msg => sprintf("Sensor '%s' status is '%s' [instance: %s] [value: %s %s]", $sensor_descr, $result->{entSensorStatus},