1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/operations/migrations
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
..
0001_initial.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
0002_error_messages.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
0003_client_ip.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
0004_parent.py fix(computes): a bulk migration shows as one job on the host's page 2026-11-15 20:00:41 +03:00
0005_alert.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00