1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/webvirtcloud
catborise dcd7e32df7 feat(alerts): mail and webhook alerts, and /healthz for a monitor
A failed backup, a scheduled backup not taken, backups the daily check
finds missing and a job that ends uncertain could only be seen on the
pages. They are now queued as alerts in the transaction of the change
they tell of (never stopping it) and sent by the worker's periodic pass
to the Settings page's alert e-mail addresses (the server's SMTP
settings) and alert webhook (a JSON POST), each tried again for ten
passes on its own. A skip for a host in maintenance is no alert.
Setting values take 255 characters. /healthz answers 200 while the
database answers and the job worker runs, 503 otherwise, without a
login.
2026-11-19 16:10:37 +03:00
..
tests feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
bootstrap.py fix: a rejected form marks only its fields in error 2026-11-18 07:53:46 +03:00
bootstrap_icons.py chore(deps): the icons come from the committed cache, not django-bootstrap-icons 2026-11-05 12:37:51 +03:00
common_tags.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
gunicorn_worker.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
log_context.py fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
middleware.py fix(computes): a host's maintenance shows only its own bulk migration; the panel's refusals are not libvirt errors 2026-11-16 20:30:54 +03:00
serializers.py fix(api): an error's status says what it is, and its body is always {"detail"} 2026-11-07 13:29:46 +03:00
settings-dev.py chore(settings): settings-dev without obsolete keys 2026-11-06 11:01:51 +03:00
settings.py.template fix: a rejected form marks only its fields in error 2026-11-18 07:53:46 +03:00
test_runner.py fix(tests): the parallel test runner works on Python 3.14; CI tests 3.14 2026-11-07 21:47:09 +03:00
urls-api.py feat(vmbackups): back up a running or shut-off VM into a target 2026-11-17 09:13:59 +03:00
urls.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
wsgi.py fix: stop ignoring SIGCHLD process-wide 2026-10-04 13:40:53 +03:00