GreenbootStatus - Command /usr/libexec/greenboot/greenboot-status
- class insights.parsers.greenboot_status.GreenbootStatus(context)[source]
Bases:
LogFileOutput
Collect the filtered output of
/usr/libexec/greenboot/greenboot-status
.The data are lines from the journal log
- red
True if the system is in RED status.
- Type:
bool
- green
True if the system is in GREEN status.
- Type:
bool
Note
Please refer to the super-class
insights.core.LogFileOutput
- time_format = 'MMM dd HH:mm:ss'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file