The monitoring system was creating checks but hardcoding response_time_ms to nil instead of using the actual ping latency. This caused the latency graphs to have no data to display. Changes: - device_monitor.ex: Capture response time from ping/SNMP check result - monitor_worker.ex: Use correct field name (response_time_ms) and status enum values (:success/:failure) After this fix, new monitoring checks will include latency data and the latency graphs will display properly on both device and site detail pages. |
||
|---|---|---|
| .. | ||
| discovery_worker.ex | ||
| monitor_worker.ex | ||
| poll_worker.ex | ||