Skip to content

Clarification of the unit of the metrics #65

Discussion options

You must be logged in to vote

I am unable to run omreport at the moment but from the tests for the omreport command parsing, those units should be correct.
You can check the omreport chassis pwrmonitoring output if it matches the metrics. This code is doing the parsing:

// PsAmpsSysboardPwr returns the power supply system board amps power consumption
func (or *OMReport) PsAmpsSysboardPwr() ([]Value, error) {
values := []Value{}
err := or.readReport(func(fields []string) {
if len(fields) == 2 && strings.Contains(fields[0], "Current") {
iFields := strings.Split(fields[0], "Current")
vFields := strings.Fields(fi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jakov-aspiretechnology
Comment options

Answer selected by galexrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants