towerops/lib/towerops_web/live/device_live
Graham McIntire c6913685ee wire up service checks (HTTP/TCP/DNS) to remote agents (#50)
send check_jobs protobuf to agents during job dispatch cycle, handle
check_result messages back with state transitions and alert
creation/resolution. auto-assign checks to device's effective agent
token on creation, broadcast check changes via PubSub so connected
agents get immediate updates.

add edit/delete support for service checks on device show page with
form pre-population from existing check config. auto-fill TCP host
from device IP address.

includes validate_check_result/1 for protobuf validation and
list_checks_for_agent/2 for querying agent-assigned service checks.

also fixes pre-existing broken device_type_icon reference in device
index template.

Reviewed-on: graham/towerops-web#50
2026-03-16 17:25:02 -05:00
..
form.ex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
form.html.heex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
index.ex ui/remove-device-type-column (#49) 2026-03-16 16:38:00 -05:00
index.html.heex wire up service checks (HTTP/TCP/DNS) to remote agents (#50) 2026-03-16 17:25:02 -05:00
show.ex wire up service checks (HTTP/TCP/DNS) to remote agents (#50) 2026-03-16 17:25:02 -05:00
show.html.heex wire up service checks (HTTP/TCP/DNS) to remote agents (#50) 2026-03-16 17:25:02 -05:00