diff --git a/text_collector_examples/ipmitool b/text_collector_examples/ipmitool index d3b9df3f..e373b953 100755 --- a/text_collector_examples/ipmitool +++ b/text_collector_examples/ipmitool @@ -76,7 +76,7 @@ $3 ~ /RPM/ { } $3 ~ /discrete/ { - status[$1] = $2; + status[$1] = sprintf("%d", substr($2,3,2)); status["metric_count"]++; }