Show local and remote service health in the admin panel #54

Merged
parkel merged 2 commits from feature/admin-service-health into main 2026-11-21 17:50:28 +01:00
Owner

Summary

  • Add an operator-only Service health page with the latest unit state and check time for each configured service and node. Show unavailable, unknown, transitioning, and stale readings separately.
  • Add an optional systemd collector that checks the panel host and probes remote BIND, Postfix, and Dovecot through SSH. Remote checks use a fixed read-only command and their own SSH identity.
  • Record observations by node and service so several instances can report independently. The check reflects systemd unit state. The panel and collector use the panel database to display and store observations.

Related issues

Closes #52

Verification

  • All 363 Django tests passed. Ruff, migration consistency, deployment shell syntax, and SSH client configuration checks passed.
  • In two isolated Ubuntu 26.04.1 VMs, installed the built package, let the real systemd timer collect local and remote observations, and signed in to view the result. Verified a remote stopped Dovecot unit, an SSH authentication failure, and independent rows for remote destinations.
  • Confirmed the remote SSH account runs its fixed health command even when the client requests a shell command. Stopped RabbitMQ and verified the collector still recorded the outage, then verified stale rendering.
## Summary - Add an operator-only **Service health** page with the latest unit state and check time for each configured service and node. Show unavailable, unknown, transitioning, and stale readings separately. - Add an optional systemd collector that checks the panel host and probes remote BIND, Postfix, and Dovecot through SSH. Remote checks use a fixed read-only command and their own SSH identity. - Record observations by node and service so several instances can report independently. The check reflects systemd unit state. The panel and collector use the panel database to display and store observations. ## Related issues Closes #52 ## Verification - All 363 Django tests passed. Ruff, migration consistency, deployment shell syntax, and SSH client configuration checks passed. - In two isolated Ubuntu 26.04.1 VMs, installed the built package, let the real systemd timer collect local and remote observations, and signed in to view the result. Verified a remote stopped Dovecot unit, an SSH authentication failure, and independent rows for remote destinations. - Confirmed the remote SSH account runs its fixed health command even when the client requests a shell command. Stopped RabbitMQ and verified the collector still recorded the outage, then verified stale rendering.
parkel added this to the v0.2.0 - Hosting operations milestone 2026-11-21 17:46:53 +01:00
parkel added 2 commits 2026-11-21 17:46:53 +01:00
Deploy a periodic collector and read-only remote health probes
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
274554a555
parkel added the area/deploymentarea/panel
kind
feature
labels 2026-11-21 17:46:53 +01:00
parkel merged commit 7411d59a02 into main 2026-11-21 17:50:28 +01:00
parkel deleted branch feature/admin-service-health 2026-11-21 17:50:28 +01:00
Sign in to join this conversation.