store_monitoring_check saved ping results from agents but never updated device status. DeviceMonitorWorker skips agent-assigned devices, so nothing ever moved them from :unknown to :up/:down. added update_device_status_from_check to derive status from check result, update the device, create alerts on transitions, and broadcast via PubSub — matching DeviceMonitorWorker behavior. |
||
|---|---|---|
| .. | ||
| agent_channel.ex | ||
| agent_socket.ex | ||