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
|
|
@ -33,7 +33,7 @@ List of enabled check sets\. Each check set is a module which checks something a
|
|||
|
||||
|
||||
*Type:*
|
||||
list of (one of “start”, “stop”, “temp”, “cpu”, “vulnix”)
|
||||
list of (one of “start”, “stop”, “cpu”, “ram”, “temp”, “vulnix”)
|
||||
|
||||
|
||||
|
||||
|
|
@ -68,7 +68,49 @@ null or floating point number
|
|||
|
||||
|
||||
|
||||
CPU load percentage for a warning alert is sent\. Null means never generate a CPU warning alert\.
|
||||
CPU load percentage for a warning alert to be sent\. Null means never generate a CPU warning alert\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
null or floating point number
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` 80.0 `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.ram\.criticalPercentage
|
||||
|
||||
|
||||
|
||||
RAM usage percentage for a critical alert to be sent\. Null means never generate a RAM critical alert\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
null or floating point number
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` 90.0 `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.ram\.warningPercentage
|
||||
|
||||
|
||||
|
||||
RAM usage percentage for a warning alert to be sent\. Null means never generate a RAM warning alert\.
|
||||
|
||||
|
||||
|
||||
|
|
@ -377,6 +419,27 @@ null or string
|
|||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.logLevel
|
||||
|
||||
|
||||
|
||||
Level of logging\. INFO generates a log message with every check\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
one of “CRITICAL”, “ERROR”, “WARNING”, “INFO”, “DEBUG”
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` "INFO" `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.telegram\.credsSecretPath
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue