feat(heartbeat): dead-man push to out-of-band Kuma every 5 min [#792]
ci / lint (push) Successful in 42s
ci / lint (push) Successful in 42s
HA curls status.knownelement.com push URL on a 5-min pattern; Kuma pages the founder directly if heartbeats stop. Alert path independent of HA itself. https://projects.knownelement.com/issues/792
This commit is contained in:
@@ -688,3 +688,16 @@
|
|||||||
data:
|
data:
|
||||||
title: POST-DEPLOY VALIDATION FAILED
|
title: POST-DEPLOY VALIDATION FAILED
|
||||||
message: "Missing/stale: {{ bad_list | join(', ') }}"
|
message: "Missing/stale: {{ bad_list | join(', ') }}"
|
||||||
|
- id: pfv_kuma_heartbeat
|
||||||
|
alias: PFV Kuma heartbeat (dead-man)
|
||||||
|
description: >
|
||||||
|
Pushes OK to the out-of-band Uptime Kuma every 5 minutes (#792).
|
||||||
|
Kuma pages the founder directly if heartbeats stop — the alert path
|
||||||
|
that works when HA itself is the failure.
|
||||||
|
mode: single
|
||||||
|
max_exceeded: silent
|
||||||
|
triggers:
|
||||||
|
- trigger: time_pattern
|
||||||
|
minutes: /5
|
||||||
|
actions:
|
||||||
|
- action: shell_command.kuma_ha_heartbeat
|
||||||
|
|||||||
@@ -19,3 +19,10 @@ rest:
|
|||||||
|
|
||||||
# E2E self-deploy proof commit [#734] - if you can read this in /config,
|
# E2E self-deploy proof commit [#734] - if you can read this in /config,
|
||||||
# the sha-watch deployed it autonomously.
|
# the sha-watch deployed it autonomously.
|
||||||
|
|
||||||
|
# Dead-man heartbeat (#792): pushes OK to the out-of-band Uptime Kuma
|
||||||
|
# (Cloudron, status.knownelement.com) every 5 minutes. If HA stops
|
||||||
|
# pushing — crash, wedge, power loss, network partition — Kuma pages
|
||||||
|
# the founder's phone directly. No HA in the alert loop.
|
||||||
|
shell_command:
|
||||||
|
kuma_ha_heartbeat: 'curl -sS -m 15 "{{ kuma_push_url }}"'
|
||||||
|
|||||||
Reference in New Issue
Block a user