From 2acb9576b131b36a445139758740403ce234f142 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Wed, 11 Mar 2015 11:06:23 +1100 Subject: [PATCH] Refs #6190 --- centreon-plugins/network/checkpoint/mode/components/voltage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})); } }