Uptime-Kuma

To replace our other monitors and remove the need to open and juggle multiple free accounts. Uptime-kuma (github) seems ok to run on low resources and had unlimited monitoring with public pages. Good dev and under active development. Of all the commercial ones I tried, UptimeRobot.com had the best user interface and Kuma is very similar.

Purpose

We can offer an uptime monitor page for:

  • Each individual satoshihost.com user.
  • All our own VPSs/servers/websites
  • Notify us when any user’s website goes down (automated preemptive troubleshooting maybe?)
  • Each individual user of the free and open-source system.

Grok is assisting with how to make the embedded graphics with uptime status like we had with UptimeRobot and other aspects too. If we have more specific needs that are not covered, we can explore possibilities in that chat.

Apparently we could use apprise with it for push notifications.

Working on the es2-kuma-listmonk.
https://uptime.satoshihost.com/

How to create and embed badges manually

The official way to create badges is documented in the project’s wiki: https://github.com/louislam/uptime-kuma/wiki/Badge

Badges are simple SVG images generated via direct API URLs. They work only for monitors that are added to at least one published status page (like your /status/sites page).

  1. Find the Monitor ID:
    • In the dashboard, go to Monitors list.
    • Click the monitor you want.
    • Look at the browser URL—it ends with /dashboard/edit/{monitorID} (e.g., something like /dashboard/edit/42). That number is the ID.
  2. Basic badge URLs (replace https://uptime.satoshihost.com with your domain and {ID} with the monitor ID):
    • Current status: https://uptime.satoshihost.com/api/badge/{ID}/status
    • Uptime (last 24 hours): https://uptime.satoshihost.com/api/badge/{ID}/uptime/24
    • Uptime (30 days): https://uptime.satoshihost.com/api/badge/{ID}/uptime/30d(new format in 2.x)
    • Uptime (1 year): https://uptime.satoshihost.com/api/badge/{ID}/uptime/1y
    • Average ping/response time (last 24h): https://uptime.satoshihost.com/api/badge/{ID}/ping or /avg-response
  3. Customize with query parameters (full list in the wiki):
    • ?label=My VPS—changes the left-side text
    • ?prefix= and ?suffix=%—e.g., for uptime
    • ?style=for-the-badge—or flat, flat-square, plastic, social (shields.io styles)
    • Example for a nice 30-day uptime badge: texthttps://uptime.satoshihost.com/api/badge/42/uptime/30d?label=30-Day Uptime&suffix=%&style=for-the-badge
  4. Embed in your wiki (Markdown example):text![VPS Uptime](https://uptime.satoshihost.com/api/badge/42/uptime/30d?label=VPS%20Uptime&suffix=%25)Or HTML: text<img src="https://uptime.satoshihost.com/api/badge/42/status?style=flat-square" alt="Status">

These update in real time whenever the image is loaded (cached for a few minutes). Test a URL directly in your browser—you’ll see the SVG badge render instantly.

Below Is Redundant

Notes

uptime-kuma—trying on vps ES 2
Here are instructions for Ubuntu. [But that didn’t work; it says it’s running but no web is showing. Maybe this one will work; it uses Docker instead.

There were problems during install, with npm reporting moderate and severe vulnerabilities. I got rid of the severe ones with npm audit fix and npm audit fix --force but there are still 2 moderate ones left, which won’t go away.

I tried 2 different ways to install node.js but both gave me problems with unsupported components and unresolvable security errors. Use Docker instead. These instructions worked for installing docker, after which

docker run -d --restart=always -p <YOUR_PORT>:3001 -v <YOUR_DIR OR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma:1

worked, so long as you select Docker and not Node.