mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-14 06:45:18 +00:00
add cpu check
This commit is contained in:
parent
8709b019ea
commit
5095057a13
12 changed files with 123 additions and 21 deletions
8
src/lego_monitoring/config/checks/cpu.py
Normal file
8
src/lego_monitoring/config/checks/cpu.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@dataclass
|
||||
class CpuCheckConfig:
|
||||
warning_percentage: Optional[float] = 80
|
||||
critical_percentage: Optional[float] = 90
|
||||
Loading…
Add table
Add a link
Reference in a new issue