-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.toml
More file actions
52 lines (42 loc) · 1.37 KB
/
Copy pathrules.toml
File metadata and controls
52 lines (42 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[rules]
error_patterns = ["ERROR", "FATAL", "Exception"]
warning_patterns = ["WARN", "WARNING"]
[[regex_rules]]
name = "oom_kill"
pattern = "Out of memory: Kill process|Memory.*exceeded"
severity = "critical"
[[regex_rules]]
name = "cpu_soft_lockup"
pattern = "soft lockup - CPU.*stuck for"
severity = "critical"
[[regex_rules]]
name = "kernel_panic"
pattern = "kernel: (?:general protection fault|segfault at|Call Trace:|NOHZ: local_softirq_pending)"
severity = "critical"
[[regex_rules]]
name = "service_start_failure"
pattern = "Failed to start|Starting .* failed|Unit .* entered failed state|Dependency failed for"
severity = "high"
[[regex_rules]]
name = "filesystem_mount_failure"
pattern = "Failed to mount|Read-only file system|No space left on device|Inode limit reached"
severity = "high"
[[regex_rules]]
name = "authentication_failure"
pattern = "authentication failure|Failed password for|Invalid user|Too many authentication failures"
severity = "high"
[[regex_rules]]
name = "network_issue"
pattern = "Network is unreachable|Name or service not known|No route to host|Connection refused|Interface .* is down"
severity = "high"
[[regex_rules]]
name = "disk_io_error"
pattern = "Disk I/O error"
severity = "critical"
[[regex_rules]]
name = "sql_error"
pattern = "SQL.*Error|Database.*failed"
severity = "high"
[frequency_rules]
max_same_errors_per_minute = 10
time_window_seconds = 60