+
+
+ System Status
+
+
+ SurfSense uptime dashboard
+
+
+
+ Open original report
+
+
+ Source: HetrixTools v3 API (`/uptime-monitors`).
+
+
+
+
+ {error ? (
+
+
Unable to load custom uptime data
+
{error}
+
+ ) : monitors.length === 0 ? (
+
+ No uptime monitors returned by HetrixTools API.
+
+ ) : (
+
+ {monitors.map((monitor) => {
+ const locations = Object.entries(monitor.locations ?? {});
+ const isUp = monitor.uptime_status === "up";
+
+ return (
+
+
+
+
+ {monitor.name}
+
+
+ {monitor.target || "No target shown"}
+
+
+
+ {isUp ? "Operational" : "Outage"}
+
+
+
+
+
+
Uptime
+
+ {monitor.uptime.toFixed(4)}%
+
+
+
+
+ Last check
+
+
+ {formatTimestamp(monitor.last_check)}
+
+
+
+
+ Monitor status
+
+
+ {monitor.monitor_status.replaceAll("_", " ")}
+
+
+
+
+ {locations.length > 0 && (
+
+
+ Locations
+
+
+ {locations.map(([locationName, locationData]) => (
+
+
+ {formatLocationName(locationName)}
+
+
+ {locationData.uptime_status === "up" ? "Up" : "Down"} ·{" "}
+ {locationData.response_time ?? "n/a"} ms
+
+
+ ))}
+
+
+ )}
+
+ );
+ })}
+
+ )}
+
+