mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-26 07:43:58 +00:00
This modifies pattern for catching cpp problem messages produced by ABRT. Found that not all mentioned messages fit into former pattern. For example following is valid cpp problem message produced by ABRT: Process xxx (bad_binary) crashed in Will::Fail::a() [clone .isra.2]() but doesn't fit former pattern, since it's last part contains whitespaces.
39 lines
827 B
JSON
39 lines
827 B
JSON
{
|
|
"plugin": "journald",
|
|
"pluginConfig": {
|
|
"source": "abrt-notification"
|
|
},
|
|
"logPath": "/var/log/journal",
|
|
"lookback": "5m",
|
|
"bufferSize": 10,
|
|
"source": "abrt-adaptor",
|
|
"conditions": [],
|
|
"rules": [
|
|
{
|
|
"type": "temporary",
|
|
"reason": "CCPPCrash",
|
|
"pattern": "Process \\d+ \\(\\S+\\) crashed in .*"
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "UncaughtException",
|
|
"pattern": "Process \\d+ \\(\\S+\\) of user \\d+ encountered an uncaught \\S+ exception"
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "XorgCrash",
|
|
"pattern": "Display server \\S+ crash in \\S+"
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "VMcore",
|
|
"pattern": "System encountered a fatal error in \\S+"
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "Kerneloops",
|
|
"pattern": "System encountered a non-fatal error in \\S+"
|
|
}
|
|
]
|
|
}
|