Browse Source

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

Signed-off-by: Nuno Tavares <n.tavares@portavita.eu>
pull/1407/head
Nuno Tavares 5 years ago committed by Ben Kochie
parent
commit
3a576f64de
  1. 2
      text_collector_examples/ipmitool

2
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"]++;
}

Loading…
Cancel
Save