add --ignore-unrecognized-events flag
to avoid NaN in sensor reading when sensor Event has unrecognized-events
This commit is contained in:
parent
52c50a5e7e
commit
ac6dbe2e02
|
@ -237,7 +237,7 @@ func freeipmiOutput(cmd string, target ipmiTarget, arg ...string) ([]byte, error
|
|||
}
|
||||
|
||||
func ipmiMonitoringOutput(target ipmiTarget) ([]byte, error) {
|
||||
return freeipmiOutput("ipmimonitoring", target, "-Q", "--comma-separated-output", "--no-header-output", "--sdr-cache-recreate")
|
||||
return freeipmiOutput("ipmimonitoring", target, "-Q", "--ignore-unrecognized-events", "--comma-separated-output", "--no-header-output", "--sdr-cache-recreate")
|
||||
}
|
||||
|
||||
func ipmiDCMIOutput(target ipmiTarget) ([]byte, error) {
|
||||
|
|
Loading…
Reference in New Issue