Fix SSH key handling for monitoring

This commit is contained in:
2026-05-07 17:39:59 +02:00
parent 6d8b08d30f
commit 2219a5730f
2 changed files with 22 additions and 5 deletions
@@ -44,7 +44,7 @@ def get_monitoring_overview(
) -> dict[str, Any]:
"""Return one lightweight monitoring row per configured machine."""
machines = store.list_machines()
rows = [collect_machine_overview(machine) for machine in machines]
rows = [collect_machine_overview(machine, store) for machine in machines]
poller = get_monitoring_poller().snapshot()
enabled_count = sum(1 for machine in machines if machine.get("enabled"))
logger.info("Dashboard monitoring machines=%s enabled=%s", len(machines), enabled_count)