FIX ipmitool sensor discrete values are expressed in hex (#1402)

Signed-off-by: Nuno Tavares <n.tavares@portavita.eu>
pull/1407/head
Nuno Tavares 2019-06-29 10:46:04 +02:00 committed by Ben Kochie
parent ccf27426ad
commit 3a576f64de
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ $3 ~ /RPM/ {
} }
$3 ~ /discrete/ { $3 ~ /discrete/ {
status[$1] = $2; status[$1] = sprintf("%d", substr($2,3,2));
status["metric_count"]++; status["metric_count"]++;
} }