mirror of
https://opendev.org/x/pyghmi
synced 2025-01-16 04:38:19 +00:00
Add discrete states for event log status sensors
This allows pyghmi to accurately describe events pertaining to event log being disabled for one reason or another. Change-Id: Ieebbaa1d836ea115872e4bb6611ff1e9ade6e2c2
This commit is contained in:
parent
09f2b13793
commit
c9e76e4cd2
@ -461,6 +461,36 @@ sensor_type_offsets = {
|
||||
'severity': const.Health.Critical,
|
||||
},
|
||||
},
|
||||
0x10: { # event log disabled
|
||||
0: {
|
||||
'desc': 'Correctable Memory Error Logging Disabled',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
1: {
|
||||
'desc': 'Specific event logging disabled',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
2: {
|
||||
'desc': 'Log Cleared',
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
3: {
|
||||
'desc': 'Logging Disabled',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
4: {
|
||||
'desc': 'Event log full',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
5: {
|
||||
'desc': 'Event log nearly full',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
6: {
|
||||
'desc': 'Correctable Machine Check Logging Disabled',
|
||||
'severity': const.Health.Warning,
|
||||
},
|
||||
},
|
||||
0x1b: { # Cable/Interconnect
|
||||
0: {
|
||||
'desc': 'Connected',
|
||||
|
Loading…
x
Reference in New Issue
Block a user