+
APRS.me System Status
+
Last updated:
{Calendar.strftime(@current_time, "%H:%M:%S UTC")}
@@ -74,31 +50,24 @@ defmodule AprsmeWeb.StatusLive.Index do
<%= if not @aprs_status.connected do %>
-
-
-
-
-
- APRS-IS Connection Issue
-
-
-
- The system is currently disconnected from the APRS-IS network. This may be due to network issues or server maintenance.
-
-
+
+
+
+
APRS-IS Connection Issue
+
+ The system is currently disconnected from the APRS-IS network. This may be due to network issues or server maintenance.
@@ -106,132 +75,134 @@ defmodule AprsmeWeb.StatusLive.Index do
-
APRS-IS Connection
-
-
-
- Status:
- <%= if @aprs_status.connected do %>
-
-
- Connected
-
- <% else %>
-
-
- Disconnected
-
- <% end %>
-
-
-
- Server:
-
- {@aprs_status.server}:{@aprs_status.port}
-
-
-
-
- Login ID:
- {@aprs_status.login_id}
-
-
-
-
Connected Since:
-
- <%= if @aprs_status.connected_at do %>
- {Calendar.strftime(@aprs_status.connected_at, "%Y-%m-%d %H:%M:%S UTC")}
+ APRS-IS Connection
+
+
+
+
+
Status:
+ <%= if @aprs_status.connected do %>
+
<% else %>
-
Not connected
+
<% end %>
-
-
+
-
- Uptime:
-
- {format_uptime(@aprs_status.uptime_seconds)}
-
-
-
-
- Filter:
-
- {@aprs_status.filter}
-
-
-
-
-
-
-
Packet Statistics
-
- Total Packets:
-
- {format_number(@aprs_status.packet_stats.total_packets)}
+ Server:
+
+ {@aprs_status.server}:{@aprs_status.port}
- Packets/Sec:
-
- {@aprs_status.packet_stats.packets_per_second}
-
+ Login ID:
+ {@aprs_status.login_id}
- Last Packet:
-
- <%= if @aprs_status.packet_stats.last_packet_at do %>
- {format_time_ago(@aprs_status.packet_stats.last_packet_at)}
+ Connected Since:
+
+ <%= if @aprs_status.connected_at do %>
+ {Calendar.strftime(@aprs_status.connected_at, "%Y-%m-%d %H:%M:%S UTC")}
<% else %>
- None
+ Not connected
<% end %>
- Stored Packets:
-
- {format_number(@aprs_status.stored_packet_count)}
+ Uptime:
+
+ {format_uptime(@aprs_status.uptime_seconds)}
+
+
+
Filter:
+
+ {@aprs_status.filter}
+
+
-
-
+
+
+
+
+
Packet Statistics
+
+
+ Total Packets:
+
+ {format_number(@aprs_status.packet_stats.total_packets)}
+
+
+
+
+ Packets/Sec:
+
+ {@aprs_status.packet_stats.packets_per_second}
+
+
+
+
+ Packets/Min:
+
+ {@aprs_status.packet_stats.packets_per_second * 60}
+
+
+
+
+ Last Packet:
+
+ <%= if @aprs_status.packet_stats.last_packet_at do %>
+ {format_time_ago(@aprs_status.packet_stats.last_packet_at)}
+ <% else %>
+ None
+ <% end %>
+
+
+
+
+ Stored Packets:
+
+ {format_number(@aprs_status.stored_packet_count)}
+
+
+
+
+
-
+
-
Connection Health:
+
Connection Health:
-
+
<%= for i <- 1..5 do %>
-
+
<% end %>
-
+
{@health_score}/5
-
+
{get_health_description(@health_score, @aprs_status.connected)}
@@ -240,82 +211,23 @@ defmodule AprsmeWeb.StatusLive.Index do
-
Application Information
-
-
-
- Version:
- {@version}
-
+
Application Information
+
+
+
+
+ Version:
+ {@version}
+
-
- Current Time:
-
- {Calendar.strftime(@current_time, "%Y-%m-%d %H:%M:%S UTC")}
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auto-refresh:
-
- {if @auto_refresh, do: "ON", else: "OFF"}
+
+ Current Time:
+
+ {Calendar.strftime(@current_time, "%Y-%m-%d %H:%M:%S UTC")}
- <%= if @auto_refresh do %>
- (every second)
- <% end %>
-
+
-
-
-
-