mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-12 05:35:19 +00:00
adapt rest of checks to use OK alerts
This commit is contained in:
parent
5f9952314d
commit
be7b3dbeed
5 changed files with 19 additions and 7 deletions
|
|
@ -27,4 +27,4 @@ def cpu_check() -> list[Alert]:
|
|||
)
|
||||
]
|
||||
else:
|
||||
return []
|
||||
return [Alert(alert_type=AlertType.CPU, message=f"CPU load: {percentage:.2f}% (nominal)", severity=Severity.OK)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue