pez-infra/docs/hosts/london-a.md
Rasmus "Pez" Wejlgaard 0bcc53b01d
Document undocumented services on london-a (#29)
Audit of london-a rc.conf found several services running but not
captured in host_vars or docs: cloudflared, InfluxDB, Redis,
PostgreSQL, and libvirtd.

- InfluxDB: only _internal db, completely unused
- Redis: empty keyspace, unused
- PostgreSQL: has pez_vps db from a dead project, needs data review
- libvirtd: zero VMs, related to same dead project
- cloudflared: running tunnel 168eccae, config now captured

Also documented the weekly ZFS scrub cron (Sundays at noon) which
is in root's crontab but not ansible-managed.

Ref: PESO-101
2026-03-30 21:39:57 +01:00

62 lines
2 KiB
Markdown

# london-a
Dedicated monitoring server. Runs Prometheus and Grafana, nothing else.
## Overview
| | |
|---|---|
| **Location** | London (NW9) |
| **OS** | FreeBSD 14.3 |
| **Tailscale IP** | 100.122.219.41 |
| **Role** | Monitoring (Prometheus + Grafana) |
## Hardware
| Component | Spec |
|---|---|
| CPU | Intel i7-4790K (8 threads) |
| Memory | 32 GB |
| Boot disk | 1 TB |
Old gaming PC, now perfectly happy as a monitoring host. Very lightly loaded — disk at ~6%.
## Services
| Service | Port | Status | Notes |
|---------|------|--------|-------|
| Prometheus | 9090 | Active | prometheus.pez.sh |
| Grafana | 3000 | Active | grafana.pez.sh |
| node_exporter | 9100 | Active | Metrics exporter |
| cloudflared | — | Active | Tunnel 168eccae-... proxying Grafana/Prometheus |
| Tailscale | — | Active | Mesh networking |
Both Prometheus and Grafana are behind Authelia (auth handled by Caddy on helsinki-a).
### Unused services (audit 2026-03-30)
These services are enabled in rc.conf but appear unused. Pending cleanup.
| Service | Port | Finding |
|---------|------|---------|
| InfluxDB | 8086 (all interfaces!) | Only `_internal` database — never used. Listening on `*:8086` is also a security concern. |
| Redis | 6379 (localhost) | Empty keyspace, no clients. |
| PostgreSQL | 5432 (localhost) | Has `pez_vps` database from a defunct VPS management project. Data may need backup before removal. |
| libvirtd | — | Zero VMs. Installed for the same pez_vps project. |
## ZFS
- Pool: `zroot`
- Weekly scrub: `0 12 * * sun zpool scrub zroot` (root crontab, not ansible-managed yet)
## Why FreeBSD
This one runs FreeBSD instead of Ubuntu. For a single-purpose monitoring host it works well. No particular reason to change it — it's stable and does its job.
## Networking
Connected via Cat 5 to the Ubiquiti switch alongside london-b.
## Notes
Prometheus scrapes all hosts over Tailscale. See [monitoring.md](../monitoring.md) for scrape targets and dashboard details.