You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Document checkKernelJournal feature for kernel log monitoring
Add documentation for the new checkKernelJournal configuration option
which uses journalctl -k as the primary method for kernel log monitoring.
Includes comparison table of kernel log monitoring methods and updated
default values.
| **Kmsg (Fallback)** | `checkKmsg: true` | Read `/dev/kmsg` | Non-systemd systems or when journalctl unavailable |
1187
+
1188
+
> **Note:** The container image includes the `journalctl` binary from the `systemd` package to support kernel journal monitoring. If both `checkKernelJournal` and `checkKmsg` are enabled, kernel journal takes precedence.
1189
+
1177
1190
**Default Patterns (when useDefaults=true):**
1178
1191
- OOM kills: `killed process|Out of memory|oom-kill`
1179
1192
- Kernel panics: `Kernel panic|BUG: unable to handle`
@@ -1202,14 +1215,16 @@ The monitor validates regex patterns for safety:
1202
1215
3. **Timeout Enforcement**: Context-based timeout for regex matching
1203
1216
1204
1217
**Key Features:**
1205
-
- Kernel message monitoring (`/dev/kmsg`)
1206
-
- Systemd journal monitoring (multiple units)
1218
+
- Kernel journal monitoring via `journalctl -k` (primary, recommended)
1219
+
- Kernel message monitoring via `/dev/kmsg` (fallback)
1220
+
- Systemd service unit journal monitoring (kubelet, containerd, docker)
1207
1221
- Regex pattern matching with safety validation
1208
1222
- Deduplication to prevent event flooding
1209
1223
- Custom pattern support
1210
1224
- Default critical pattern library
1211
1225
- Event rate limiting per pattern
1212
-
- ARM64 /dev/kmsg compatibility
1226
+
- Time-based filtering (only processes new logs since last check)
0 commit comments