mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-12 05:35:19 +00:00
login alerts
This commit is contained in:
parent
3eb358d618
commit
0e177210f6
10 changed files with 85 additions and 5 deletions
|
|
@ -1,13 +1,10 @@
|
|||
import json
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
import aiofiles
|
||||
import nio
|
||||
|
||||
from alerting.enum import AlertType, Severity
|
||||
from misc import cvars
|
||||
from misc.common import CONFIG_FILE
|
||||
from misc.config import get_config
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class AlertType(StrEnum):
|
|||
CPU = "CPU"
|
||||
TEMP = "TEMP"
|
||||
VULN = "VULN"
|
||||
LOGIN = "LOGIN" # TODO
|
||||
LOGIN = "LOGIN"
|
||||
SMART = "SMART" # TODO
|
||||
RAID = "RAID"
|
||||
DISKS = "DISKS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue