v0.1.0

Dashboard

Last updated


This page explains the TUI layout, how each Monitor table column is displayed, and how the System panel computes its numbers.

Layout


AreaPositionContent
MonitorLeft, 2/3 widthOne row per site, with a fixed header row
SystemTop rightStats and command help; shows SMTP settings after smtp
CommandBottom right, 3 rows tallCommand input, focused on startup

Monitor Table Columns


ColumnContentColor
WebsiteNormalized URLGreen
Statusonline / offlineGreen / red
DurationResponse time in milliseconds (e.g. 128ms)Default
CodeHTTP status code; 0 shows N/A200–399 green, otherwise red
Last CheckLast check time as HH:MM:SSDefault
SSL ExpireN Days; 0 shows N/A>30 green, 8–30 yellow, ≤7 red

Rows follow the watch list order: sites added with add are appended at the end, and after a restart the order is that of list[] in .webMonitor.json, which Save() writes from an unordered map, so it can differ from the original add order. A site that has not finished its first check does not appear yet.

System Panel


ItemHow it is computed
Last UpdateCurrent time when the panel redraws
Total SitesNumber of sites with a check result
Online / OfflineSites whose latest result is online / offline
UptimeOnline ÷ Total × 100 with one decimal; shows 0.0% when Total is 0
Email NotificationGreen Enable when enabled is true and host is set, otherwise red Disable

Uptime is the online ratio of the current round, not long-term availability; the program keeps no history.

Redraw Triggers


EventRedrawn area
End of each check round (startup, every minute, refresh)Table and System panel
Successful add / delTable and System panel
smtp / back / <kbd>Esc</kbd>System panel only
smtp <key> <value> while in the SMTP viewSystem panel only
中文