Skip to content

Kernel error scanning with journalctl (no dmesg) #292

@fredoh9

Description

@fredoh9

Marc suggested to switch to journalctl while reviewing #290

Current we grep for negative keywords, if it hit any then return error. These are current keywords for error.

err_str="error|failed|timed out|panic|oops"

dmesg | grep -E "$err_str" | grep -vE "$ignore_str"

Later we should drop such "screen scraping" and use something more robust like journalctl --dmesg --priority err with no false positive (for instance a debug message with one of these keywords) and no false negative (e.g. ERR:)

Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Critical bugs or normal featuresarea:logsLog and results collection, storage, etc.good first issueGood for newcomerstype:enhancementNew framework feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions