How to Monitor Uptime Without Docker: One Linux File, Tested

2026-11-29

Partly tested. We ran the parts that show commands and output. The rest comes from the project’s docs, and the post says where.

I wanted to monitor uptime (the share of time a site actually answers) without Docker (a packed box that carries a program plus the libraries it expects). A small page of mine had gone quiet before, and I only noticed when I opened it myself. Akena Watch is that “are you there” question as one Linux file, a binary (one file the computer can run, with nothing else to install). I pointed it at a page I controlled. It saved five checks as up. I stopped the page. The next saved check was down, and the error was connection refused. The screen is in Spanish. Stay on Uptime Kuma if you need English, or if the saved check has to be a ping (a tiny “are you there” packet, not a web page).

The file did not install anything else. It listened on this machine, stored a small database file beside it, and kept asking. That is the whole shape. You can monitor uptime without Docker by running Akena Watch, one Linux file that checks a web address on a timer and records up or down.

Download one file, start it, add a page

Mind map of monitoring uptime without Docker: one Linux file, 18 MB of RAM, five checks up then one down, Spanish screen, alerts by webhook Telegram or email, keep the monitor on a second machine

You download one Linux file, start it, create an admin login, and add the address you care about. A monitor (a program that keeps asking, on a timer, and keeps the answers) does that job. You do not install Docker for this path.

One Linux file asks a question, then stores the answer in akena.db

I set the gap between questions to 10 seconds, which is the shortest gap the program allows, and the longest it allows is 24 hours. I told it the page had to answer with status 200 (the web server’s way of saying “this request worked”) and had to contain a word I had put on the page. Five saved checks came back up. I then stopped the little page. The next saved check was down, with connection refused, which means nothing was listening on that address anymore.

Five green up results and one red down result from the same monitor

The stats screen turned those six checks into 83.33 percent up for the day, the week, and the month. That number is not a month of truth. Those windows only contained this short test, so one miss is a large slice. If you judge a fresh monitor by the percentage, wait until it has lived through a real day.

A short test makes one miss look like 83 percent, while a real day makes the same miss small

What an uptime monitor does: a timer, a question, a memory

An uptime monitor is a timer, plus a question, plus a memory. Every so often it asks a target, writes down what happened, and can tell you when the answer flips.

An uptime monitor is a timer, a question, and a memory

Akena Watch offers three kinds of question. HTTP (a normal web request, the kind a browser makes) can require a status code and a word in the body. TCP (a check that only asks whether a host and port accept a connection) does not read a page. DNS (a check that the name still points somewhere) catches a domain that stopped pointing at your server. I only ran the web request.

A heartbeat (one saved answer) is what filled the history. Mine landed about 10 to 11 seconds apart after I asked for 10. Each up heartbeat had code 200 and a latency (how long the answer took, in milliseconds) of 0. Zero is not a brag. The page lived on the same computer, so the trip was too short to show up. On a real site you should see a number you can compare over time. A separate slow state exists if you set a millisecond limit and several checks in a row stay over it. I left that limit at 0, which turns the slow warning off.

Monitor loop: timer, ask the address, save one heartbeat, alert if the answer flipped

A site can return 200 while the body says the database is down. If you only watch the code, you will call that up. I required a word I had put on the healthy page, and the up checks mean that word was there.

A 200 response with an error in the body is still a failure if you required a healthy word

Akena Watch or Uptime Kuma?

Use Akena Watch when one file is the point and you can work on a Spanish screen. Stay on Uptime Kuma when you need English, a stored ping, or the long list of places an alert can go. I ran Akena. I didn’t install Uptime Kuma next to it, so this is the difference in what each one asks you to run, not a speed contest.

Akena Watch is one Spanish-screen file; Uptime Kuma is the usual Docker install and was not run here
Akena WatchUptime Kuma
What I had to runone Linux file, about 14 MBNot run. The usual install is Docker
Screen I sawSpanishEnglish, and other languages in that project
Saved check typesweb, TCP, DNSthose, plus ping, and many more
Ping as a saved monitornoyes
Ping as a live toolyes, if the machine allows the packetyes
Alertsa webhook, Telegram, or emaila much longer list
Public status pageone per user, for monitors you mark publicyes
Where history sitsone database fileits own database
This testfive up, then one downnot run here

A status page (a public link that shows green or red without a login) is /status/ plus the username, and only monitors marked public show up. I left mine private. The history file is SQLite (a database that is one file on disk), named akena.db.

Install and start Akena Watch

On a Linux machine, download the release file for your chip, mark it executable, and start it. The first open asks you to create the admin. That account is the lock on the screen.

Install is download, start, create an admin, add an address, then ask /ping for 204
curl -fsSL -o akena-watch https://github.com/xic17/akena-watch/releases/latest/download/akena-watch-linux-amd64
chmod +x akena-watch
AKENA_BIND=127.0.0.1 AKENA_PORT=8080 AKENA_DATA_DIR=./data ./akena-watch

Bind (which network door this program opens) is the line I would not skip. The default door is every interface on port 8080. I pinned it to this machine only, and I moved the port, because 8080 was already taken where I ran it. If 8080 is free on a laptop, the default port is fine, but I would still keep the door on this machine until a proxy (another web server that faces the network and passes traffic inward) you trust is in front. The project also ships a Mac file and an ARM Linux file. I ran the ordinary Intel and AMD Linux file, so that is the one I can talk about.

The fields I sent were a name, type http, the full URL, method GET, expected status 200, a required word, an interval of 10 seconds, a timeout (how long one question may wait) of 5 seconds, and one retry. One retry means the first failure is already down. On a real site I would use 2 or 3. Timeout can be 1 to 120 seconds, and retries can be 1 to 10.

{
  "name": "toy",
  "type": "http",
  "url": "http://127.0.0.1:8765/",
  "method": "GET",
  "expected_status": 200,
  "keyword": "ok-checkout-alive",
  "interval_s": 10,
  "timeout_s": 5,
  "max_retries": 1
}

There is a manual test button. It runs one check and does not write history. The history I am quoting came from the timer, not from that button. After start, this should print 204:

curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8080/ping

A 204 is success with an empty body. It means the monitor program is alive. It does not mean your website is alive.

The data file is akena.db inside the data directory. A backup is a copy of that directory. To leave the program running after you log out, the project includes a systemd unit. systemd (the Linux service manager that can start a program at boot) was not part of my test. I ran the file in the foreground, watched the checks, and stopped it. The unit’s own smoke test is that same /ping request. The program and the download live at Akena Watch on GitHub and akenawatch.com.

No Docker: 18 MB, one file, one database

No. Nothing in the path above pulled an image or started a container engine. The process sat at about 18 MB of real memory (the RAM it was actually using, not the much larger amount a program reserves on paper) and 7 threads while it was checking.

The run was one file, about 18 MB of RAM, and a database file, with Docker off

A Docker image is in the project if you already live in containers. You can ignore it. There is also a Cloudflare container path, and that path cannot send ICMP (the packet a classic ping uses). I was not on Cloudflare. I was on a normal Linux process.

One switch is worth knowing before you point this at the public internet. AKENA_SOLO_PUBLICO=1 refuses checks aimed at private addresses, the loopback address (the machine talking to itself), and the cloud metadata address. I left it off on purpose, because my target was a private page on this machine. If strangers can create monitors on your copy, turn that switch on so they cannot ask your monitor to poke the inside of the network.

Worth it for a homelab, not for an English on-call team

It is worth it if the job is a handful of addresses, a Linux machine you already have, and a wish to avoid a stack. It is not worth it if the person on call will bounce off a Spanish screen. The menus I saw were Monitores, Herramientas, Usuarios, Acerca de, Perfil, Salir, and Página de estado. The page language was Spanish, and the tab title was “Monitores · Akena Watch.” I couldn’t find an English switch. I would keep this for a homelab whose owner can read those menus. I would not move an English on-call team onto it.

History is capped at 5,000 saved checks per monitor, and older ones are dropped. At a check every 10 seconds, that cap is only about 14 hours. At one check a minute, it is a bit over three days. If you want a month on screen, do not ask every 10 seconds. Match the interval to how much history you want to keep.

Interval choice: every 10 seconds hits the 5,000 check cap in about 14 hours, every minute lasts a few days

Certificate expiry and domain expiry are optional, and they are checked about once a day, not on every heartbeat. A TLS certificate (the proof a browser checks before it trusts an https site) is not the same thing as the name still belonging to you. The lookup tries RDAP (a directory that can return the expiry in a structured way) first, then the older WHOIS text. Some endings, .de is the example, do not publish a date. In that case it does not invent one and it does not alert. I left both warnings off, because a page on this machine has no public certificate and no domain to renew.

A maintenance window mutes alerts for a weekly time range, and the checks still land in history. Pause stops the checks entirely. I used neither. Use the window for a planned reboot, and pause when the service is gone.

When Uptime Kuma is the better pick

Stay when the screen has to be English, when a saved monitor must be a ping, or when the alert has to land in a tool Akena does not speak. Switching a working Kuma setup for a smaller file is a downgrade if those three are the job. Kuma is commonly run in Docker, it can watch more kinds of targets, and its notification list is why a lot of teams picked it. If that list is already wired into your paging, Akena replaces the box and does not replace the wiring.

Alerts go to a webhook, Telegram or email

Add a channel, then attach it to the monitor. Akena sends when the state changes to down, and again when it changes back to up. It does not send a message on every healthy check. In my test the monitor was allowed to notify, and I attached no channel, so the down check was stored and no message left the machine.

An alert goes to a webhook, Telegram, or email when the state flips, and again when it recovers

The three channels are a webhook (an address that accepts a posted note), Telegram, and email. The default webhook body is a JSON object with a text field, and you can swap in the monitor name, the URL, the status, the error, the latency, and the time. Telegram wants a bot token and a chat id. Email is SMTP (the way a program hands a message to a mail server): host, port, user, password, from, and to. There is no inbox inside Akena.

Retries change when that notice fires. With one retry, my first connection refused was already down. With three, it would wait for three failures in a row. During a maintenance window the checks still count, and the message waits until the window is over if the target is still down.

Put the monitor on a second machine

A green check only means the machine can talk to itself. Mine could. The latency was 0 ms, and the down check happened only because I stopped the page while the machine stayed up. If that machine loses power, the monitor loses power too, and nobody gets the message.

A monitor on the same computer only proves it can reach itself; a second computer can still send the alert

Put the file on a second small computer, or on any machine that does not die with the site. Point it at the public address, not at a private name that only exists inside the building. If you host things yourself, like a RustDesk server or a self hosted Vercel alternative, those public addresses are the ones to watch. A green check from the public address is the one a visitor would agree with.

Ping is a tool here, not a saved monitor

Not as a monitor that saves history. The stored types are web, TCP, and DNS. The ping tool on the tools screen can send ICMP when the operating system allows that packet, and it can also try a TCP ping. The web check needed no extra permissions. Only the classic ping tool might.

Saved monitors are web, TCP, and DNS; the ping tool can send ICMP and does not fill the saved history

That split is easy to miss because people say ping for any check. A web check proves the program answered a request. A ping proves a lower layer replied. A server can refuse ping and still serve the site, and a server can answer ping while the site is a blank error. Pick the question that matches the failure you care about.

I am keeping the file for the case where I want the question and the memory without a container. I am not moving an English on-call setup onto it. The second machine is the part I would not skip.

Leave a comment