Uptime SLA — User Manual

Complete reference for all features. No login required to read this page.

Overview

Uptime SLA is a self-hosted monitoring solution that lets you:

  • Probe HTTP/HTTPS endpoints at regular intervals and track their availability
  • Group monitors into Services that model your logical infrastructure
  • Publish public Status Pages so users can check service health
  • Manage Incidents and Maintenance windows with live status updates
  • Receive Notifications via Email, Discord or Webhook when a monitor changes state
  • Track and display SLA (uptime %) per monitor and per service

All data lives in a single SQLite file. No external database or cloud account required.

First Setup

After starting the Docker container, navigate to /admin. The default credentials are admin / changeme. A setup guide will appear on the dashboard to walk you through:

  1. Change your password — via Account menu → Change password. Required for security.
  2. Add a notification channel — so you get alerted when something goes down.
  3. Create a monitor — an HTTP endpoint to watch.
  4. Publish a status page — a public URL for your users.

💡 The setup guide (bottom-right corner of the admin) disappears automatically once all four steps are complete.

Monitors

A monitor defines a single HTTP endpoint to probe. Uptime SLA sends a GET request to the URL at the configured interval and records whether the response is up (2xx status) or down.

Creating a monitor

Go to Monitors → + Add Monitor. Fill in:

FieldDescription
NameA human-readable label shown on the dashboard and status page.
URLFull URL to probe, e.g. https://api.example.com/health
IntervalHow often to check (seconds). Min 30 s, max 3600 s.
TimeoutRequest timeout in seconds. If exceeded, monitor is marked down.

Monitor states

  • UP — last check returned a 2xx response within the timeout.
  • DOWN — last check failed (non-2xx, timeout, or connection error).
  • Paused — monitoring is temporarily suspended (no checks sent).
  • Unknown — the monitor has not been checked yet.

Pausing and resuming

Use the Pause / Resume buttons on the monitor list or detail view. Paused monitors are excluded from SLA calculations while paused.

Monitor history and chart

Click a monitor's name on the dashboard to open its detail page. You'll see a 7-day uptime chart, response-time graph, and a log of recent state changes.

Services

Services are logical groups of monitors. You might have a service called "API" containing three monitors (Auth endpoint, Search endpoint, Database health check), and another service "Website" with one monitor.

Creating a service

Go to Services → + New Service. Provide:

  • Name — displayed on the status page group header.
  • Description — optional subtitle shown below the name.
  • Monitors — check the monitors to include in this service.
  • Notification Channels — select which channels receive alerts when any monitor in this service changes state.

Service status

A service is considered degraded if any of its monitors are down, and operational if all monitors are up. This aggregated status is shown on the status page.

Status Pages

A status page is a public, unauthenticated page at /status/<slug> that displays the current health of your services.

Creating a status page

Go to Status Pages → + New Status Page. Fields:

FieldDescription
TitlePage title shown at the top of the status page.
SlugURL-friendly identifier. The page will be at /status/<slug>.
DescriptionOptional subtitle below the title.
ServiceLink to a service. If linked, the page automatically shows all monitors of that service grouped together.

What users see

The public status page shows:

  • An overall status banner (All systems operational / Degraded / Major outage)
  • Per-monitor current status and 90-day uptime bar
  • SLA percentage per monitor
  • Any active incidents or scheduled maintenance windows
  • A history of recent incidents

The page automatically supports light and dark mode based on the visitor's OS preference.

Events & Incidents

Events allow you to communicate planned maintenance or incidents to users of your status page.

Event types

  • Incident — an unplanned outage or degradation. Appears on the status page immediately.
  • Maintenance — a scheduled window. Users are informed in advance.

Incident status workflow

StatusMeaning
InvestigatingIssue detected, root cause unknown.
IdentifiedRoot cause found, fix in progress.
MonitoringFix deployed, monitoring for recurrence.
ResolvedIssue fully resolved and closed.

Posting updates

Open an event and use the Add Update form to post timestamped messages. Each update is shown chronologically on the status page, keeping users informed as the situation evolves.

Associating with a monitor

When creating an event, you can link it to a specific monitor and status page. The event will then appear in that status page's incident history.

Notification Channels

Notification channels define where alerts are sent when a monitor goes down or recovers. Channels are configured globally and then assigned to services.

Supported channel types

TypeConfiguration
EmailSMTP host, port, username, password, TLS/STARTTLS, sender and recipient addresses.
DiscordDiscord webhook URL. The bot posts a formatted embed message to the channel.
WebhookAny HTTP endpoint. Uptime SLA sends a POST with a JSON payload describing the event.

Testing a channel

After creating a channel, use the Test button to send a sample message. This confirms the configuration is correct before waiting for a real alert.

Enabling / disabling

Each channel has an Enabled toggle. Disabled channels are skipped during alert delivery but their configuration is preserved.

Duplicating channels

Use the Duplicate button to copy a channel configuration as a starting point for a new one.

SLA Calculation

SLA (Service Level Agreement) is expressed as an uptime percentage. Uptime SLA calculates it from the probe history stored in the database.

How it's computed

For a given time window:

uptime % = (time UP / total time monitored) × 100

Paused periods are excluded — they neither count as uptime nor downtime.

Where it appears

  • On the admin dashboard: a 24h and 7-day uptime bar per monitor.
  • On the status page: 90-day uptime bar and percentage per monitor.
  • In SLA reports (PDF): generated on demand from the dashboard.

SLA thresholds on status pages

RangeColour
≥ 99.5 %Green — Excellent
99.0 – 99.5 %Yellow — Good
< 99.0 %Red — Below target

Dashboard

The admin dashboard provides a real-time overview of all monitors. It auto-refreshes every 30 seconds.

  • Stat cards at the top: total monitors, online count, offline count, paused count.
  • Monitor list: current status badge, 24h uptime bar, response time, last check time.
  • Recent state changes: a log of the latest up/down transitions across all monitors.
  • Dark mode: toggle with the ☀/🌙 icon in the top-right corner. Preference is saved in a cookie.

Configuration

All configuration is passed via environment variables (or a .env file when using Docker Compose).

VariableDefaultDescription
JWT_SECRETrequiredSecret key used to sign admin JWT tokens. Use a long random string.
DATA_DIR/dataDirectory where the SQLite database file is stored.
PORT8080HTTP port the server listens on.
JWT_EXPIRY24hAdmin session token validity (Go duration string, e.g. 12h, 7d).
REPORT_DIR/reportsDirectory where generated PDF reports are stored.
ASSETS_CDNfalseWhen true, status page JS/CSS assets are loaded from a CDN instead of being embedded.

⚠️ JWT_SECRET must be set before the first run. Changing it after the container has started will invalidate all active admin sessions.

REST API

The admin REST API is available under /api/admin/. All endpoints except /api/admin/login require a Bearer token obtained from the login endpoint.

Authentication

POST /api/admin/login
Content-Type: application/json

{ "username": "admin", "password": "changeme" }

→ { "token": "eyJ..." }

Include the token in subsequent requests:

Authorization: Bearer eyJ...

Key endpoints

MethodPathDescription
GET/api/admin/monitorsList all monitors
POST/api/admin/monitorsCreate a monitor
PUT/api/admin/monitors/{id}Update a monitor
DELETE/api/admin/monitors/{id}Delete a monitor
POST/api/admin/monitors/{id}/pausePause a monitor
POST/api/admin/monitors/{id}/resumeResume a monitor
GET/api/admin/notificationsList notification channels
POST/api/admin/notifications/{id}/testTest a channel
GET/api/admin/servicesList services
GET/api/admin/status-pagesList status pages
GET/api/admin/eventsList events/incidents
GET/api/admin/summaryDashboard summary counts
GET/api/monitors/{id}/slaPublic SLA data (no auth)
GET/api/status/{slug}Public status page data (no auth)