mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
ram check, configurable loglevel
This commit is contained in:
parent
5095057a13
commit
da85a566c4
10 changed files with 180 additions and 18 deletions
20
src/lego_monitoring/config/enums.py
Normal file
20
src/lego_monitoring/config/enums.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
from enum import StrEnum
|
||||
|
||||
|
||||
class CheckSet(StrEnum):
|
||||
START = "start"
|
||||
STOP = "stop"
|
||||
|
||||
CPU = "cpu"
|
||||
RAM = "ram"
|
||||
TEMP = "temp"
|
||||
|
||||
VULNIX = "vulnix"
|
||||
|
||||
|
||||
class LogLevelName(StrEnum):
|
||||
CRITICAL = "CRITICAL"
|
||||
ERROR = "ERROR"
|
||||
WARNING = "WARNING"
|
||||
INFO = "INFO"
|
||||
DEBUG = "DEBUG"
|
||||
Loading…
Add table
Add a link
Reference in a new issue