📈 Uptime Kuma
Uptime Kuma is een self-hosted monitoring tool die de status van al je services bewaakt.
Algemene Info
| Item | Waarde |
|---|---|
| Container | uptime-kuma |
| Image | louislam/uptime-kuma:latest |
| Interne Poort | 3001 |
| URL | status.hub |
| Status Page | status.hub/status/hamming |
Functies
- ✅ HTTP(S) monitoring - Check of websites online zijn
- ✅ TCP/Ping monitoring - Network services checken
- ✅ Docker container monitoring - Container status
- ✅ Notificaties - Alerts via Telegram, Discord, Email, etc.
- ✅ Status page - Publieke status pagina
- ✅ Certificaat monitoring - SSL certificaat expiratie
Geconfigureerde Monitors
Services (Mini PC 1)
| Service | Type | URL/Host | Interval |
|---|---|---|---|
| Pi-hole | HTTP | http://192.168.1.13:8080 | 60s |
| Homer | HTTP | http://192.168.1.13:8081 | 60s |
| Nginx Proxy Manager | HTTP | http://192.168.1.13:81 | 60s |
| Portainer | HTTPS | https://192.168.1.13:9443 | 60s |
| Guacamole | HTTP | http://192.168.1.13:8083 | 60s |
| Duplicati | HTTP | http://192.168.1.13:8200 | 60s |
| MkDocs | HTTP | http://192.168.1.13:8082 | 60s |
Netwerk Apparatuur
| Apparaat | Type | Host | Interval |
|---|---|---|---|
| UDM Pro | Ping | 192.168.1.1 | 60s |
| Synology NAS | HTTP | http://192.168.1.12:5000 | 60s |
| Mini PC 2 (Proxmox) | HTTPS | https://192.168.1.14:8006 | 60s |
Smart Home (VLAN 20)
| Service | Type | Host | Interval |
|---|---|---|---|
| Home Assistant | HTTP | http://192.168.20.10:8123 | 60s |
Monitor Toevoegen
- Ga naar status.hub
- Klik op Add New Monitor
- Vul in:
- Monitor Type: HTTP(s), TCP, Ping, etc.
- Friendly Name: Naam voor display
- URL/Host: Het te monitoren adres
- Heartbeat Interval: Check frequentie (standaard 60s)
- Klik Save
Monitor Types
| Type | Gebruik voor |
|---|---|
| HTTP(s) | Websites, API's, web interfaces |
| TCP Port | Specifieke poorten checken |
| Ping | Network apparaten |
| DNS | DNS server responses |
| Docker | Container status (via socket) |
| Push | Externe services die zelf pushen |
Notificaties Instellen
Telegram Bot
- Maak een bot via @BotFather
- Noteer de Bot Token
- Start een chat met je bot
- Haal je Chat ID op via
https://api.telegram.org/bot<TOKEN>/getUpdates - In Uptime Kuma: Settings → Notifications → Add → Telegram
- Vul Bot Token en Chat ID in
- Test de notificatie
Discord Webhook
- Discord Server Settings → Integrations → Webhooks
- Maak nieuwe webhook en kopieer URL
- In Uptime Kuma: Settings → Notifications → Add → Discord
- Plak Webhook URL
- Test de notificatie
Status Page
De publieke status pagina toont de status van alle services zonder login.
URL: status.hub/status/hamming
Status Page Aanpassen
- Ga naar Status Pages in de zijbalk
- Klik op je status page
- Pas aan:
- Titel en beschrijving
- Welke monitors getoond worden
- Groepen en volgorde
- Custom CSS/Branding
Troubleshooting
Monitor altijd DOWN
Symptomen
- Monitor toont constant DOWN
- Service werkt wel in browser
Mogelijke oorzaken:
-
Verkeerde URL/poort:
-
SSL certificaat problemen:
-
Bij self-signed certs: zet "Accept Invalid Certs" aan
-
Firewall blokkade:
- Check of Uptime Kuma bij de service kan
Te veel false positives
Korte onderbrekingen
Oplossing:
- Verhoog Retries (bijv. 3)
- Verhoog Retry Interval (bijv. 60s)
- Pas Heartbeat Interval aan
Notificaties komen niet aan
Checklist:
- Test de notificatie in Settings → Notifications
- Check API keys/tokens
- Check firewall voor uitgaand verkeer
- Bekijk Uptime Kuma logs:
Maintenance Mode
Om gepland onderhoud aan te kondigen zonder false alerts:
- Klik op een monitor
- Klik Maintenance
- Stel in:
- Start/eind tijd
- Beschrijving
- Tijdens maintenance: geen alerts
Docker Compose
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
restart: unless-stopped
ports:
- "3001:3001"
volumes:
- ./uptime-kuma:/app/data
networks:
- proxy-net
Backup
Uptime Kuma data wordt gebackupt via Duplicati (onderdeel van ~/docker backup).
Handmatige export: 1. Settings → Backup → Export 2. Download JSON backup bestand
Gerelateerd
- Homer Dashboard - Links naar services
- Duplicati - Backup van Uptime Kuma data