Skip to content

Commit

Permalink
clusterconf/monitor: add rule for kernel general protection fault
Browse files Browse the repository at this point in the history
  • Loading branch information
aither64 committed Jun 8, 2023
1 parent 7e91fae commit 711d56a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions modules/clusterconf/monitor/rules/syslog.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,23 @@
};
}

{
alert = "KernelGeneralProtectionFault";
expr = ''syslog_kernel_gpf == 1'';
labels = {
severity = "fatal";
frequency = "1m";
};
annotations = {
summary = "Kernel general protection fault has occurred (instance {{ $labels.instance }})";
description = ''
Kernel general protection fault has occurred
LABELS: {{ $labels }}
'';
};
}

{
alert = "KernelEmergencyWarn";
expr = ''syslog_kernel_emergency == 1'';
Expand Down

0 comments on commit 711d56a

Please sign in to comment.