diff --git a/centreon-plugins/network/checkpoint/mode/components/voltage.pm b/centreon-plugins/network/checkpoint/mode/components/voltage.pm index 6fa3bb188..da656b008 100644 --- a/centreon-plugins/network/checkpoint/mode/components/voltage.pm +++ b/centreon-plugins/network/checkpoint/mode/components/voltage.pm @@ -80,7 +80,7 @@ sub check { short_msg => sprintf("Voltage '%s' sensor out of range status is '%s'", $result->{voltageSensorName}, $result->{voltageSensorStatus})); } $self->{output}->perfdata_add(label => $result->{voltageSensorName} , unit => 'V', - value => sprintf("%d", $result->{voltageSensorValue})); + value => sprintf("%.2f", $result->{voltageSensorValue})); } }