Uptime Kuma

On this page 7

Uptime Kuma is a self-hosted, open-source uptime monitoring tool that periodically checks websites, servers and network services, records whether they respond, and sends alerts when a check fails. Within Monitoring & logs for servers, it belongs to the category of external availability monitoring: it observes a service from the outside, the way a user would, rather than reading its internal metrics or log files.

The project was started by developer Louis Lam, is written in JavaScript on Node.js with a Vue web interface, and is released under the MIT license. It is widely used by small teams, home lab operators and agencies as a lightweight alternative to hosted uptime services, because it runs on a single small server or container and needs no external account.

How Uptime Kuma checks services

Each item that Uptime Kuma watches is called a monitor. A monitor has a type, a target, a check interval and rules for retries, and the server runs it on a schedule, stores every result in its database and draws a heartbeat bar of recent successes and failures in the dashboard.

When a check fails, the monitor can retry a configured number of times before it changes state from up to down. Only the state change triggers a notification, which keeps alerts quiet during brief network blips. Results are stored in SQLite by default, and version 2 adds support for an external MariaDB or MySQL database for larger installations.

The table below summarizes the main settings of a monitor and what each one controls.

SettingTypical valueEffect
Heartbeat interval20 to 300 secondsHow often the target is checked
Retries0 to 5Failed checks tolerated before down
Retry intervalOften equal to the heartbeat intervalDelay between retry checks
Request timeoutA fraction of the intervalWhen a slow response counts as failure
Accepted status codes200 to 299Which HTTP responses count as up
Core monitor settings

Monitor types and what they detect

Uptime Kuma supports many monitor types, which lets one dashboard cover websites, infrastructure and scheduled jobs. Choosing the right type matters, because a simple port check can report a service as healthy while the application behind it returns errors.

The following table lists commonly used monitor types and the failure each one is designed to catch.

Monitor typeWhat it checksBest suited for
HTTP(s)Status code and response timeWebsites and APIs
HTTP(s) keywordPresence or absence of text in the bodyPages that fail with a 200 status
JSON queryA value inside a JSON responseHealth check endpoints
TCP portWhether a port accepts connectionsMail, SSH and database ports
PingICMP reachability and round-trip timeHosts and network devices
DNSResolution of a record to an expected valueDomain configuration
PushWhether a job called a URL in timeBackups and cron jobs
Docker containerRunning state of a containerSelf-hosted application stacks
Common monitor types

The push monitor reverses the usual direction: the monitored job sends a request to Uptime Kuma, and the monitor goes down when no heartbeat arrives within the interval. This makes it a simple form of heartbeat monitoring for tasks that run in the background and have no public endpoint.

Notifications, status pages and maintenance

Alerting is handled through notification providers, and the project supports more than ninety channels, including email over SMTP, Slack, Microsoft Teams, Discord, Telegram, Matrix, ntfy, Pushover and generic webhooks. Each monitor can use several providers, so an outage can reach a chat channel and an on-call phone at the same time.

Uptime Kuma also publishes public status pages that group monitors, show current state and history, and can be served on a custom domain. Maintenance windows suppress alerts and mark services as under maintenance during planned work, and HTTPS monitors can warn before a TLS certificate expires.

How Uptime Kuma compares with other monitoring tools

Uptime Kuma is a focused availability checker, not a full observability platform. It answers whether a service is reachable and how fast it responds, while tools such as Zabbix or Nagios also collect host metrics, and log platforms such as Graylog or Grafana Loki explain why something failed.

The comparison below places Uptime Kuma among neighboring tools in the same field.

ToolPrimary purposeSetup effortTypical scale
Uptime KumaExternal uptime checks and status pagesMinutesTens to a few hundred monitors
Hosted uptime servicesExternal checks from many regionsMinutes, no serverAny, priced per monitor
NagiosHost and service checks with pluginsHours to daysLarge estates
ZabbixMetrics, triggers and agent-based monitoringHours to daysThousands of hosts
NetdataReal-time per-host metricsMinutes per hostIndividual servers and clusters
Uptime Kuma and related tools

Deployment and practical limitations

The most common deployment is the official Docker image with a persistent volume for the data directory, exposing the web interface on port 3001 behind a reverse proxy with HTTPS. Installation directly on Node.js is also supported. Because the default database is SQLite, the data directory should sit on local storage rather than a network file share, where file locking can corrupt the database.

  • Single vantage point: all checks run from one location, so an outage of the monitoring host or its network looks like an outage of every service. Running a second instance or an external check on Uptime Kuma itself reduces this blind spot.
  • No built-in clustering: the application is not designed for high availability or for distributing checks across regions.
  • Database growth: short intervals across many monitors produce large history tables, so the data retention period should be set deliberately.
  • Shallow diagnosis: a red monitor shows that something failed, not why, so it works best alongside logs and host metrics.

In simple terms

Uptime Kuma is like a guard who walks past every door in a building at regular times and knocks to check that someone answers. If a door stays silent a few times in a row, the guard phones the people responsible right away.

It runs on a computer you control, keeps a diary of every knock, and can show a public board that tells customers which services are working. It tells you that something is down, but finding out why still needs other tools.

A practical example

A small web agency hosts about forty client websites on three virtual servers. It installs Uptime Kuma in a Docker container on a separate low-cost server in another data center, so that a failure of the hosting servers does not also take down the monitoring. Each website gets an HTTP(s) keyword monitor with a 60-second interval and two retries, checking that the page footer text appears, and nightly backup scripts report to push monitors.

One evening a database update breaks a client shop, which still returns status 200 but shows an error page. The keyword check fails three times, and a Telegram alert reaches the on-call developer within about three minutes. The next week a backup job silently stops, and the push monitor flags it the following morning, before any data is lost.