Skip to content

Commit cf9fc55

Browse files
committed
Dmesg update
1 parent 669fc21 commit cf9fc55

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

nodescraper/plugins/inband/dmesg/dmesg_analyzer.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DmesgAnalyzer(RegexAnalyzer[DmesgData, DmesgAnalyzerArgs]):
5353
event_category=EventCategory.SW_DRIVER,
5454
),
5555
ErrorRegex(
56-
regex=re.compile(r"[Kk]ernel panic.*"),
56+
regex=re.compile(r"\bkernel panic\b.*", re.IGNORECASE),
5757
message="Kernel Panic",
5858
event_category=EventCategory.SW_DRIVER,
5959
),
@@ -294,6 +294,33 @@ class DmesgAnalyzer(RegexAnalyzer[DmesgData, DmesgAnalyzerArgs]):
294294
event_category=EventCategory.SW_DRIVER,
295295
event_priority=EventPriority.WARNING,
296296
),
297+
ErrorRegex(
298+
regex=re.compile(
299+
r"(?:\[[^\]]+\]\s*)?LNetError:.*ko2iblnd:\s*No matching interfaces",
300+
re.IGNORECASE,
301+
),
302+
message="LNet: ko2iblnd has no matching interfaces",
303+
event_category=EventCategory.IO,
304+
event_priority=EventPriority.WARNING,
305+
),
306+
ErrorRegex(
307+
regex=re.compile(
308+
r"(?:\[[^\]]+\]\s*)?LNetError:\s*.*Error\s*-?\d+\s+starting up LNI\s+\w+",
309+
re.IGNORECASE,
310+
),
311+
message="LNet: Error starting up LNI",
312+
event_category=EventCategory.IO,
313+
event_priority=EventPriority.WARNING,
314+
),
315+
ErrorRegex(
316+
regex=re.compile(
317+
r"LustreError:.*ptlrpc_init_portals\(\).*network initiali[sz]ation failed",
318+
re.IGNORECASE,
319+
),
320+
message="Lustre: network initialisation failed",
321+
event_category=EventCategory.IO,
322+
event_priority=EventPriority.WARNING,
323+
),
297324
]
298325

299326
@classmethod

0 commit comments

Comments
 (0)