Docs / Getting started

Install central

Central is one Go binary and a PostgreSQL 16+ database. The web UI is a small Node app next to it. Pick Docker to try it, the Ubuntu packages for production.

Try it with Docker

git clone https://github.com/brandonmc21/uptight
cd uptight
make up

This starts PostgreSQL, central with the example config, and the web UI on http://localhost:8091. make down removes it all.

Ubuntu packages

Packages exist for Ubuntu 24.04, 22.04, 20.04 and 18.04 (the web UI for 24.04 and 22.04). As root:

apt install postgresql
sudo -u postgres createuser -P uptight && sudo -u postgres createdb -O uptight uptight
apt install uptight

Set database_url in /etc/uptight/server.yaml, then check the config and start:

uptight validate --secrets-file /etc/uptight/secrets.yaml /etc/uptight/config
systemctl restart uptight
curl -sf localhost:8090/healthz      # ok

The package writes a generated api_token and one agent enrollment token named default into server.yaml. Keep both secret.

The web UI

apt install uptight-web
systemctl restart uptight-web
curl -sf localhost:8091/healthz      # ok

On the same host as central, the API token is filled in for you. On another host, set UPTIGHT_API_URL and UPTIGHT_API_TOKEN in /etc/uptight/web.env. Put uptight-web behind your single sign-on proxy: it trusts the X-Forwarded-User header for who is acting.

Your first config

Checks, channels and alert rules are YAML in /etc/uptight/config (or a git repository set as config.git in server.yaml). The package installs a starter file with one check. A minimal setup:

checks:
  - name: www
    type: http
    env: prod
    severity: critical
    url: https://www.example.com/

channels:
  - name: slack-ops
    type: slack
    webhook_url: ${secret:slack_alerts_url}

alert_rules:
  - name: everything
    channels: [slack-ops]

Secrets go in /etc/uptight/secrets.yaml as name: value lines and are referenced as ${secret:name}. After an edit, run uptight validate; central picks the change up on its next config poll, or at once with Settings → Config → Reload now. A check you add or change holds its alerts for 5 minutes (config_quiet) so a mistake doesn't page anyone.

Ready for agents

Upgrading to Pro

Pro is a separate build that replaces the uptight binary and the web UI in place, with the same server.yaml and database. Put the licence key in UPTIGHT_LICENSE, a file named by UPTIGHT_LICENSE_FILE, or /etc/uptight/license.key, then restart. Without a valid licence it runs as Community and says why on Settings → Config.