Flip condition in EDAC check
This commit is contained in:
parent
b07396c39a
commit
a3c31564ca
|
@ -79,7 +79,7 @@ class MonitoringPluginScript(MonitoringPlugin):
|
||||||
errors = list()
|
errors = list()
|
||||||
for line in stdout.split('\n'):
|
for line in stdout.split('\n'):
|
||||||
if match(r'^mc[0-9]: csrow', line):
|
if match(r'^mc[0-9]: csrow', line):
|
||||||
if 'Corrected' not in line:
|
if 'Uncorrected' in line:
|
||||||
health_delta = 10
|
health_delta = 10
|
||||||
errors.append(' '.join(line.split()[2:]))
|
errors.append(' '.join(line.split()[2:]))
|
||||||
message += ', '.join(errors)
|
message += ', '.join(errors)
|
||||||
|
|
Loading…
Reference in New Issue