diff --git a/src/pages/MonitorPage.tsx b/src/pages/MonitorPage.tsx index 2f2c76b..1af97e6 100644 --- a/src/pages/MonitorPage.tsx +++ b/src/pages/MonitorPage.tsx @@ -13,6 +13,8 @@ interface ServerRow { disk_pct?: number | null swap_pct?: number | null agents: Array<{ id?: string; name?: string; status?: string }> + nginx_installed?: boolean | null + nginx_sites?: string[] last_seen_at?: string | null } @@ -154,8 +156,12 @@ export default function MonitorPage() { CPU {s.cpu_pct ?? '-'}% · MEM {s.mem_pct ?? '-'}% · DISK {s.disk_pct ?? '-'}% · SWAP {s.swap_pct ?? '-'}%
OpenClaw: {s.openclaw_version || '-'}
-
Plugin: {s.plugin_version || '-'}
+
Client: {s.plugin_version || '-'}
Agents: {s.agents?.length || 0}
+
Nginx: {s.nginx_installed == null ? '-' : s.nginx_installed ? 'installed' : 'not detected'}
+ {!!s.nginx_sites?.length && ( +
Sites: {s.nginx_sites.join(', ')}
+ )} ))}