mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
add docs for ups
This commit is contained in:
parent
6c8ae03b6a
commit
5cd3f47d65
4 changed files with 134 additions and 1 deletions
|
|
@ -36,12 +36,13 @@ List of enabled check sets\. Each check set is a module which checks something a
|
|||
- ram – alerts when RAM usage is above threshold
|
||||
- temp – alerts when temperature readings are above thresholds
|
||||
- net – alerts when network usage is above threshold
|
||||
- ups – alerts on UPS events
|
||||
- vulnix – periodically scans system for known CVEs, alerts if any are found (NixOS only)
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
list of (one of “self”, “remind”, “cpu”, “ram”, “temp”, “net”, “vulnix”)
|
||||
list of (one of “self”, “remind”, “cpu”, “ram”, “temp”, “net”, “ups”, “vulnix”)
|
||||
|
||||
|
||||
|
||||
|
|
@ -635,6 +636,48 @@ null or (positive integer or floating point number, meaning >0)
|
|||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.ups\.upsToCheck
|
||||
|
||||
|
||||
|
||||
List of UPS’s to monitor, in ` upsc `-compatible format\. If null, all UPS’s connected to localhost are checked\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
null or (list of string)
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` null `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.ups\.upsmonGroup
|
||||
|
||||
|
||||
|
||||
Group to allow to send UPS status updates\. This should usually include the user upsmon runs as\.
|
||||
|
||||
|
||||
|
||||
*Type:*
|
||||
string
|
||||
|
||||
|
||||
|
||||
*Default:*
|
||||
` config.power.ups.upsmon.user `
|
||||
|
||||
*Declared by:*
|
||||
- [modules/options\.nix](../modules/options.nix)
|
||||
|
||||
|
||||
|
||||
## services\.lego-monitoring\.checks\.vulnix\.whitelist
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue