mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Add IPMI metric: current
This commit is contained in:
parent
888db31dbf
commit
ed68baeada
@ -138,6 +138,11 @@ func (r *IPMIReceiver) doReadMetric() {
|
||||
|
||||
// Voltage
|
||||
name = strings.TrimPrefix(name, "volt_")
|
||||
} else if metric == "current" &&
|
||||
unit == "Amps" {
|
||||
|
||||
// Current
|
||||
unit = "Ampere"
|
||||
} else if metric == "temperature" &&
|
||||
unit == "degrees C" {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user