add --ignore-unrecognized-events flag

to avoid NaN in sensor reading when sensor Event has unrecognized-events
This commit is contained in:
Badreddin 2019-10-01 11:29:41 +02:00
parent 52c50a5e7e
commit ac6dbe2e02
1 changed files with 1 additions and 1 deletions

View File

@ -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) {