<.icon name="hero-map-pin" class="h-4 w-4 inline" /> {@site.location} <%= if @site.latitude && @site.longitude do %> ({Float.round(@site.latitude, 4)}, {Float.round(@site.longitude, 4)}) <% end %>
{format_number(@site_summary.subscribers || 0)}
{format_mrr(@site_summary.mrr)}
{format_number(@site_summary.device_count)} <%= if @site_summary.devices_down > 0 do %> ({@site_summary.devices_down} {t("down")}) <% end %>
0, do: "text-red-600 dark:text-red-400", else: "text-gray-900 dark:text-white" ) ]}> {length(@active_alerts)}
{format_capacity(@capacity_summary.total_throughput_bps)}
{format_capacity( max( 0, @capacity_summary.total_capacity_bps - @capacity_summary.total_throughput_bps ) )}
{length(@capacity_summary.interfaces)}
{if @qoe_summary[:score], do: Float.round(@qoe_summary[:score] / 1, 1), else: "—"}
Capacity
{@qoe_summary[:capacity_score]}%
| {t("Device")} | {t("Subscribers")} | <%= if @can_view_financials do %>{t("MRR")} | <% end %>
|---|---|---|
| {dev.name || dev.device_id} | {dev.count} | <%= if @can_view_financials do %>{format_mrr(dev.mrr)} | <% end %>
No active alerts
{alert.message}
{time_ago(alert.triggered_at)}
No config changes in the last 30 days
{change.device_name || "Unknown device"}
{time_ago(change.detected_at)}
{t("Start monitoring by adding network devices to this site.")}
| {t("Device")} | {t("IP Address")} | {t("Subs")} | <%= if @can_view_financials do %>{t("MRR")} | <% end %>{t("Latency")} |
|---|---|---|---|---|
|
{eq.name}
|
{eq.ip_address} | <%= if di = @device_impact[eq.id] do %> {if di.count > 0, do: di.count, else: "—"} <% else %> — <% end %> | <%= if @can_view_financials do %><%= if di = @device_impact[eq.id] do %> {if Decimal.gt?(di.mrr, 0), do: format_mrr(di.mrr), else: "—"} <% else %> — <% end %> | <% end %>"text-gray-400" ms when ms < 50 -> "text-green-600 dark:text-green-400" ms when ms < 200 -> "text-yellow-600 dark:text-yellow-400" _ -> "text-red-600 dark:text-red-400" end ]}> {format_response_time(@response_times[eq.id])} |
{insight.title}
<%= if insight.description do %>{insight.description}
<% end %>