remind about persistent alerts

This commit is contained in:
Alex Tau 2025-06-06 00:46:44 +03:00
parent 2c234b2fd0
commit f691180e9b
9 changed files with 115 additions and 30 deletions

View file

@ -9,6 +9,7 @@ class AlertType(StrEnum):
TEMP = "TEMP"
TEST = "TEST"
VULN = "VULN"
REMIND = "REMIND"
# LOGIN = "LOGIN"
# SMART = "SMART" # TODO
# RAID = "RAID"
@ -22,3 +23,11 @@ class Severity(IntEnum):
INFO = 1
WARNING = 2
CRITICAL = 3
SEVERITY_TO_EMOJI = {
Severity.OK: "🟢",
Severity.INFO: "",
Severity.WARNING: "⚠️",
Severity.CRITICAL: "🆘",
}