This commit is contained in:
Quentin Garnier 2015-03-11 11:06:23 +11:00
parent b8aa5e0b85
commit 8cba326c32
1 changed files with 1 additions and 1 deletions

View File

@ -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}));
}
}