iac/ansible/roles/monitoring/templates
Sergei Poljanski 5e009c4a47
All checks were successful
deploy / ansible (push) Successful in 7m22s
xmpp_cert_sync: renew the XMPP certificate through Traefik
The ejabberd certificate (asxp.io, conference., xmpp.) was issued by
hand and expires 2027-01-28 with nothing renewing it. Traefik now
obtains it alongside the sites' certificates, through a router that
only exists to request it, and a systemd path unit on ops pushes it to
services whenever acme.json changes, with a daily run as fallback.

The push uses its own SSH key, accepted from ops' VPC address only and
forced to xmpp-cert-install, which checks the certificate is valid for
another day and matches its key before replacing server.pem and
reloading ejabberd.

Two alerts: the sync hasn't succeeded for two days, or ejabberd serves
an older certificate than Traefik holds for six hours. The existing
expiry alert already covers port 5223.

Assisted-by: Claude:opus-5-5
2026-11-13 08:16:00 +04:00
..
alert-rules.yaml.j2 xmpp_cert_sync: renew the XMPP certificate through Traefik 2026-11-13 08:16:00 +04:00
alerting.yaml.j2 ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
blackbox.yml.j2 monitoring: drop the stale STARTTLS comment 2026-11-13 06:59:41 +04:00
dashboards.yaml.j2 ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
datasources.yaml.j2 ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
docker-compose.yml.j2 monitoring: keep Loki chunks in S3, 90 days of logs and metrics 2026-11-13 07:04:00 +04:00
grafana.env.j2 ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
loki.env.j2 monitoring: keep Loki chunks in S3, 90 days of logs and metrics 2026-11-13 07:04:00 +04:00
loki.yml.j2 monitoring: keep Loki chunks in S3, 90 days of logs and metrics 2026-11-13 07:04:00 +04:00
prometheus.yml.j2 ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00