mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-09 20:31:10 +00:00
add cpu check
This commit is contained in:
parent
8709b019ea
commit
5095057a13
12 changed files with 123 additions and 21 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”, “vulnix”)
|
||||
list of (one of “start”, “stop”, “temp”, “cpu”, “vulnix”)
|
||||
|
||||
|
||||
|
||||
|
|
@ -45,8 +45,50 @@ list of (one of “start”, “stop”, “temp”, “vulnix”)
|
|||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.cpu\.criticalPercentage
|
||||
|
||||
CPU load percentage for a critical alert to be sent\. Null means never generate a CPU critical alert\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
null or floating point number
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` 90.0 `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.cpu\.warningPercentage
|
||||
|
||||
|
||||
|
||||
CPU load percentage for a warning alert is 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\.temp\.sensors
|
||||
|
||||
|
||||
|
||||
Temp sensor override definitions\. Sensors not defined here, or missing options in definitions, will be read with default parameters\.
|
||||
|
||||
To get list of sensors and their default configurations, run ` lego-monitoring --print-temp `\.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue