services:uptime-kuma
This is an old revision of the document!
Table of Contents
Uptime Kuma
Self-hosted status/uptime monitoring with alerting.
Access
| Item | Value |
|---|---|
| Dashboard | https://status.home.miskam.xyz |
| Internal | https://status.srv.internal |
| Container | CT 114 |
| IP | 10.100.161.114:3001 |
Installation
# Container erstellen pct create 114 local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst \ --hostname uptime-kuma \ --memory 512 --swap 256 \ --cores 1 \ --net0 name=eth0,bridge=vmbr0,tag=160,ip=10.100.161.114/23,gw=10.100.161.254 \ --features nesting=1 \ --unprivileged 1 \ --start 1 # Node.js installieren pct exec 114 -- bash -c ' apt update && apt install -y curl git curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt install -y nodejs ' # Uptime Kuma installieren pct exec 114 -- bash -c ' cd /opt git clone https://github.com/louislam/uptime-kuma.git cd uptime-kuma npm run setup ' # Systemd Service pct exec 114 -- tee /etc/systemd/system/uptime-kuma.service << SERVICE [Unit] Description=Uptime Kuma - Monitoring After=network.target [Service] Type=simple WorkingDirectory=/opt/uptime-kuma ExecStart=/usr/bin/node server/server.js Restart=always Environment=NODE_ENV=production [Install] WantedBy=multi-user.target SERVICE pct exec 114 -- systemctl daemon-reload pct exec 114 -- systemctl enable --now uptime-kuma
Erstkonfiguration
- Admin-Account anlegen
- Monitore hinzufügen
Notifications
Telegram
Alerts werden bei Service-Ausfällen an Telegram gesendet.
- Bot: @ryyptslpch_bot
- Chat: Project Network-Automation
- Credentials: Vaultwarden (Network Automation → Uptime Kuma Telegram Bot)
Konfiguration: Settings → Notifications → Telegram Alerts
Monitors
HTTP(s)
| Name | URL | Interval |
|---|---|---|
| n8n | https://n8n.home.miskam.xyz | 60s |
| Vaultwarden | https://vault.home.miskam.xyz | 60s |
| Wiki | https://wiki.home.miskam.xyz | 60s |
| Checkmk | https://monitoring.home.miskam.xyz | 60s |
| Traefik | http://10.100.161.102:8080 | 30s |
| Proxmox | https://10.100.160.100:8006 | 60s |
TCP Port
| Name | Host:Port | Interval |
|---|---|---|
| PostgreSQL | 10.100.161.110:5432 | 60s |
| n8n Backend | .111:5678 | 60s |
| Vaultwarden Backend | .112:8080 | 60s |
| Wiki Backend | .113:80 | 60s |
| Checkmk Backend | .115:80 | 60s |
DNS
| Name | Check |
|---|---|
| DNS home.miskam.xyz | A-Record via 1.1.1.1 |
Management
# Status pct exec 114 -- systemctl status uptime-kuma # Logs pct exec 114 -- journalctl -u uptime-kuma -f # Restart pct exec 114 -- systemctl restart uptime-kuma
Backup
SQLite: /opt/uptime-kuma/data/kuma.db
pct exec 114 -- cp /opt/uptime-kuma/data/kuma.db /backup/kuma_$(date +%Y%m%d).db
Related
- Checkmk - Infrastructure monitoring
- Containers - CT 114 details
services/uptime-kuma.1770421640.txt.gz · Last modified: by 127.0.0.1
