Skip to content

Alerts

Layer Runs on Covers
charmlab-status rock-01, on the eMMC SSD, temperature, disk usage, Docker, tunnel, local services, late backup, internet back
UptimeFlare Cloudflare Workers rock-01 unreachable (off, frozen, no internet or tunnel down) and every public address
charmlab-alerts Cloudflare Workers Delivery to Telegram, email and WhatsApp
Status panel (ESP32-C3) Status panel rock-01 not answering on the LAN

Each problem has a single source, so it is reported once.

Level Telegram Email WhatsApp
critical Yes Yes Yes
warning Yes Yes No
resolved Yes No No
Channel Setup
Telegram Bot created with @BotFather; bot token and chat ID
Email Cloudflare Email Routing on <domain> with the destination address verified; sent through the Worker’s send_email binding
WhatsApp CallMeBot (free, personal use, only to your own number): send “I allow callmebot to send me messages” to the bot number and keep the API key
Problem Detected by Level Panel LED Panel text (en)
SSD disconnected or /srv missing charmlab-status critical Red, fast blink SSD disconnected
Docker stopped charmlab-status critical Red, solid Docker stopped
Temperature above 80 °C charmlab-status critical Red, fast blink Temperature 82 °C
Temperature above 70 °C for 10 minutes charmlab-status warning Yellow, slow blink Temperature 74 °C
eMMC or SSD above 80% charmlab-status warning Yellow, solid eMMC 85%
Local service down charmlab-status critical Yellow, solid <service> down
Public address down UptimeFlare critical Yellow, solid <service> down
Tunnel down charmlab-status warning Yellow, solid Tunnel down
No successful backup for 26 hours charmlab-status warning Yellow, solid Backup late
Internet down charmlab-status and panel Reported by UptimeFlare as rock-01 unreachable Red, solid No internet
rock-01 unreachable from outside for 5 minutes UptimeFlare critical
rock-01 not answering on the LAN for 30 seconds Panel Red, slow blink rock-01 not responding
Starting or updating charmlab-status Blue, slow blink Starting
All good Green, solid Rack summary
  • Slow blink: once per second. Fast blink: four times per second.
  • Several problems: the LED shows the most severe one and the panel cycles through all texts every 3 seconds.
  • Panel button: a short press shows the next problem; holding it for 2 seconds acknowledges (the LED stops blinking and stays solid until a new problem appears); holding it for 5 seconds turns the panel screen and the rack light off or on, while the LED keeps showing the state.
  • Each problem alerts once when it starts and once when it ends (resolved), with its duration. A problem that persists alerts again every 6 hours.
  • Without internet, charmlab-status queues the alerts and sends them as one summary when the connection is back.
  • Services marked exposed = true are shown on the panel but only UptimeFlare alerts for them.
  • Panel texts and alert messages come from a translation table. language = "pt-BR" in the charmlab-status configuration selects Brazilian Portuguese.
  1. In the tunnel, hostname health.<domain> pointing to http://127.0.0.1:8080, with a path rule for /health only and everything else answered with http_status:404.
  2. charmlab-status answers /health with 200 only when the X-Charmlab-Token header matches; otherwise 404. Contract in Status API.

Setup in monitoring/uptimeflare/.

Monitor Type Target Interval Alert after
rock-01 HTTP https://health.<domain>/health with the X-Charmlab-Token header 1 min 5 min
Each exposed service HTTP Public URL 1 min 3 min
  • Check location: São Paulo, if available in UptimeFlare’s city list.
  • Notification: webhook to charmlab-alerts, critical when down and resolved when back.
  • Status page at status.<domain>, password protected.