update merucry monitoring docs
This commit is contained in:
2 files changed
+120
-19
No files matched your search
+50
-11
@@ -4,7 +4,7 @@ id: home-server.mercury
|
||||
type: reference
|
||||
scope: [mercury, vps, hosting, nginx, wireguard, firewall]
|
||||
sensitivity: private-infrastructure
|
||||
last_reviewed: "2026-10-23"
|
||||
last_reviewed: "2026-10-26"
|
||||
sources:
|
||||
- kind: owner-report
|
||||
reference: "Fasthosts plan, fastfetch, nginx sites, iptables and fail2ban output, 2026-10-06"
|
||||
@@ -12,6 +12,18 @@ sources:
|
||||
reference: "nginx/WireGuard apt management and public IPv4/CGNAT rationale, 2026-10-06"
|
||||
- kind: owner-report
|
||||
reference: "Uptime service confirmed as Uptime Kuma; notifications received in Discord server Jupiter, channel #uptimekuma-alerts, 2026-10-23"
|
||||
- kind: owner-report
|
||||
reference: "Mercury uptime-kuma.sh supplied with bind mount, resource limits and log rotation, 2026-10-26"
|
||||
- kind: owner-report
|
||||
reference: "Mercury Uptime Kuma only checks WireGuard tunnel health and whether Jupiter is online; alerts Jay on Discord when down, 2026-10-26"
|
||||
- kind: owner-report
|
||||
reference: "Mercury monitored in Beszel; CPU above 90% for 10 minutes, memory above 90% for 10 minutes and any failed systemd services alerts configured, 2026-10-26"
|
||||
- kind: repository
|
||||
repository: jupiter-stacks
|
||||
revision: working-tree
|
||||
paths:
|
||||
- mercury/stacks/uptime-kuma/docker-compose.yml
|
||||
- mercury/stacks/uptime-kuma/README.md
|
||||
related: [home-server.reference, home-server.host, home-server.networking, home-server.operations]
|
||||
update_triggers: [hosting-renewal, vps-resize, os-upgrade, proxy-change, firewall-change, certificate-change, alerting-change]
|
||||
unknowns:
|
||||
@@ -20,7 +32,7 @@ unknowns:
|
||||
- certificate-renewal-method
|
||||
- wireguard-allowedips-and-keepalive
|
||||
- backup-and-restore-policy
|
||||
- uptime-kuma-monitor-targets-and-outage-coverage
|
||||
- uptime-kuma-exact-probes-and-alert-timing
|
||||
---
|
||||
|
||||
# Mercury VPS
|
||||
@@ -69,16 +81,43 @@ home connection uses CGNAT. Residential-IP exposure is avoided by design.
|
||||
|
||||
## Monitoring / notifications
|
||||
|
||||
Uptime Kuma runs on Mercury, served at `https://uptime.umbra.mom` through
|
||||
the local upstream `http://127.0.0.1:3001`. Notifications are delivered to
|
||||
**Jupiter** (Discord server) in `#uptimekuma-alerts`; receipt confirmed by
|
||||
the owner on 2026-10-23.
|
||||
Mercury is now monitored by the **Beszel hub on Jupiter**, confirmed by the
|
||||
owner on 2026-10-26. The following Mercury alerts are configured:
|
||||
|
||||
Monitor targets and outage coverage have not been recorded. Running Kuma on
|
||||
Mercury allows monitoring independently of Jupiter, but does not establish that
|
||||
Jupiter or its containers are currently monitored. Mercury cannot report its
|
||||
own complete outage through this instance; an external monitor is not yet
|
||||
confirmed. See [Observability](operations.md#observability).
|
||||
| Alert | Trigger |
|
||||
| --- | --- |
|
||||
| CPU usage | Above 90% for 10 minutes |
|
||||
| Memory usage | Above 90% for 10 minutes |
|
||||
| Failed Services | Any failed systemd service |
|
||||
|
||||
These are deployed alert settings, not proposed additions. Beszel's Failed
|
||||
Services rule detects failed systemd units, not every error-level journal entry.
|
||||
Alert settings are stored in the Beszel hub UI/database, not the agent Compose
|
||||
file. Beszel cannot deliver these alerts while Jupiter or its hub is down.
|
||||
|
||||
Uptime Kuma runs on Mercury, served at `https://uptime.umbra.mom` through
|
||||
the local upstream `http://127.0.0.1:3001`. Its current monitoring scope is
|
||||
**only the health of the WireGuard tunnel and whether Jupiter is online**.
|
||||
It notifies **Jay on Discord when either is down**, using the **Jupiter**
|
||||
Discord server's `#uptimekuma-alerts` channel. Coverage confirmed by the owner
|
||||
on 2026-10-26; notification receipt previously confirmed on 2026-10-23.
|
||||
It does not currently monitor individual containers or application health.
|
||||
|
||||
The supplied `~/uptime-kuma.sh` is now represented by
|
||||
`mercury/stacks/uptime-kuma/docker-compose.yml` in `jupiter-stacks`.
|
||||
It retains image `louislam/uptime-kuma:2-slim`, container name `uptime-kuma`,
|
||||
restart policy `unless-stopped`, loopback port `3001`, and bind mount
|
||||
`/opt/uptime-kuma:/app/data`. Limits remain 300 MiB RAM and 0.5 CPU, with
|
||||
10 MiB / 3-file log rotation (Compose explicitly selects `json-file`).
|
||||
The adjacent README documents a stopped-data backup and migration into the
|
||||
Mercury Portainer environment. Migration has not been confirmed; the repository
|
||||
change alone does not replace the running container. nginx remains host-managed.
|
||||
|
||||
Exact probe types, targets and alert timing have not been recorded. A failed
|
||||
check over WireGuard can indicate a tunnel/path failure rather than a powered-off
|
||||
Jupiter. Mercury monitors independently of Jupiter, but cannot report its own
|
||||
complete outage through this instance; an external monitor is not yet confirmed.
|
||||
See [Observability](operations.md#observability) for container-alerting guidance.
|
||||
|
||||
## Firewall / fail2ban
|
||||
|
||||
|
||||
Reference in new issue
Block a user