forgejo: update deprecated options
This commit is contained in:
parent
5d1dc54151
commit
9d4d110af0
7 changed files with 17 additions and 2 deletions
|
|
@ -902,6 +902,9 @@
|
||||||
"blocks-monitoring": [
|
"blocks-monitoring": [
|
||||||
"blocks-monitoring.html#blocks-monitoring"
|
"blocks-monitoring.html#blocks-monitoring"
|
||||||
],
|
],
|
||||||
|
"blocks-monitoring-backup-dashboard": [
|
||||||
|
"blocks-monitoring.html#blocks-monitoring-backup-dashboard"
|
||||||
|
],
|
||||||
"blocks-monitoring-budget-alerts": [
|
"blocks-monitoring-budget-alerts": [
|
||||||
"blocks-monitoring.html#blocks-monitoring-budget-alerts"
|
"blocks-monitoring.html#blocks-monitoring-budget-alerts"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
1
modules/blocks/monitoring/docs/.#default.md
Symbolic link
1
modules/blocks/monitoring/docs/.#default.md
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
timi@laspin.305764:1763219006
|
||||||
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_1.png
Normal file
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 535 KiB |
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_2.png
Normal file
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 474 KiB |
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_3.png
Normal file
BIN
modules/blocks/monitoring/docs/assets/dashboards_Backups_3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 627 KiB |
|
|
@ -118,6 +118,18 @@ This dashboard is used to monitor a [deluge](./services-deluge.html) instance.
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
## Backup Dashboard and Alert {#blocks-monitoring-backup-dashboard}
|
||||||
|
|
||||||
|
This dashboard show Restic and BorgBackup backup jobs, or any job with "backup" in the systemd service name.
|
||||||
|
|
||||||
|
The most important graphs are the first three:
|
||||||
|
|
||||||
|
- "Backup Jobs in the Past Week"
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Requests Error Budget Alert {#blocks-monitoring-budget-alerts}
|
## Requests Error Budget Alert {#blocks-monitoring-budget-alerts}
|
||||||
|
|
||||||
This alert will fire when the ratio between number of requests getting a 5XX response from a service
|
This alert will fire when the ratio between number of requests getting a 5XX response from a service
|
||||||
|
|
|
||||||
|
|
@ -618,9 +618,8 @@ in
|
||||||
SMTP_ADDR = "${cfg.smtp.host}:${toString cfg.smtp.port}";
|
SMTP_ADDR = "${cfg.smtp.host}:${toString cfg.smtp.port}";
|
||||||
FROM = cfg.smtp.from_address;
|
FROM = cfg.smtp.from_address;
|
||||||
USER = cfg.smtp.username;
|
USER = cfg.smtp.username;
|
||||||
|
PASSWD = cfg.smtp.passwordFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.forgejo.mailerPasswordFile = cfg.smtp.passwordFile;
|
|
||||||
})
|
})
|
||||||
|
|
||||||
# https://wiki.nixos.org/wiki/Forgejo#Runner
|
# https://wiki.nixos.org/wiki/Forgejo#Runner
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue