- Created Towerops.Agents.Stats module with health monitoring functions - get_organization_agent_health/1: Online status, equipment counts, metrics - get_equipment_assignment_breakdown/1: Count by assignment source - get_agent_metric_stats/1: 24-hour metric submission statistics - get_offline_agents/1: Agents not seen in 5+ minutes - get_high_load_agents/2: Agents with >50 devices (configurable) - get_unmonitored_equipment/1: Equipment with no agent assigned Uses hierarchical agent assignment logic via list_agent_polling_targets/1 to properly count equipment across all assignment levels. |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||