Self-hosted · Open source · Real-time

See every server.
Catch every threat.

CS Tool is a self-hosted monitoring platform. A lightweight agent on each Ubuntu server streams performance metrics and security events over HTTPS to your own backend, which raises alerts and pushes everything to a live dashboard.

Workspaces
6
Built-in alert rules
5
User roles
3

// How it works

From a log line on one server to an alert on your screen, in real time.

  1. 01

    Collect

    The agent samples CPU, memory, disk and network, and reads SSH, sudo and UFW logs for security events. If the backend is unreachable it buffers offline and retries.

  2. 02

    Ingest

    Batches arrive over HTTPS with a per-server API key. Keys are stored hashed, and each server gets its own.

  3. 03

    Store & alert

    TimescaleDB hypertables with continuous aggregates, retention and compression. The alert engine checks every sample as it lands.

  4. 04

    Watch live

    Metrics, security events, alerts and server status stream to the dashboard over WebSockets. No refreshing.

// The dashboard

Six workspaces. One console for ops, security, delivery and cost.

// The agent

Small enough to forget it's there.

A Node.js agent packaged as a .deb with a systemd service. It runs as an unprivileged user with CPU and memory caps and filesystem hardening.

Performance

  • CPU
  • Memory
  • Disk
  • Network in
  • Network out

Security

  • SSH logins
  • sudo use
  • UFW firewall

Resilience

  • Offline buffering
  • Automatic retry
  • TLS verification
ubuntu@web-01: ~
# build & install the package
$ cd packaging && ./build-deb.sh
$ sudo dpkg -i ../dist/monitor-agent_1.0.0_all.deb
# set server_url and api_key
$ sudo nano /etc/monitor-agent/agent.yaml
$ sudo systemctl enable --now monitor-agent
$ journalctl -u monitor-agent -f

// Alerting

Alerts that raise themselves, and clear themselves.

Every ingested sample is checked. Open alerts are de-duplicated per server and type, broadcast live, and auto-resolve when things recover. Thresholds are set with ALERT_* environment variables.

// Beyond monitoring

It grew into the rest of the job.

Deliver

Release management

Plan releases, move them across a release board, run deployments to environments, set approval workflows, and track release metrics on a calendar.

FinOps

Cloud cost tracking

Record monthly spend per project and service, then spot servers that are idle or offline but still billed.

Observe

Apps & topology

Map applications to the servers that host them, and see how your infrastructure connects.

Secure

Access & audit

Admin, operator and viewer roles, per-product access, passkeys, and an audit log of admin and delivery actions.

Deliver

AI assistant

Ask operational and delivery questions from inside the dashboard.

// Get started

Running on your server in five minutes.

CS Tool ships as two Docker images. One compose file starts them with TimescaleDB and a proxy that serves the dashboard, the API and agent traffic from a single address.

  1. On any machine with Docker and Docker Compose v2.23+, download the two files.
mkdir cs-tool && cd cs-tool
curl -fsSLO https://qulaxy.com/cs-tool/setup/docker-compose.yml
curl -fsSL -o .env https://qulaxy.com/cs-tool/setup/env.example
  1. Fill in the four required values in .env. On Linux this generates the secrets, then set your own ADMIN_PASSWORD:
sed -i "s|^POSTGRES_PASSWORD=.*|POSTGRES_PASSWORD=$(openssl rand -hex 16)|" .env
sed -i "s|^JWT_SECRET=.*|JWT_SECRET=$(openssl rand -hex 32)|" .env
sed -i "s|^TOKEN_ENC_KEY=.*|TOKEN_ENC_KEY=$(openssl rand -hex 32)|" .env
nano .env   # set ADMIN_PASSWORD
  1. Start it, then open the dashboard and sign in with ADMIN_EMAIL and ADMIN_PASSWORD. The first sign-in asks you to set up two-factor with an authenticator app.
docker compose up -d
  • Dashboardhttp://localhost:8080
  • API & agentshttp://localhost:8080/api/v1
  • Your domainSITE_ADDRESS=monitor.example.com

For a domain with automatic HTTPS, set SITE_ADDRESS, PUBLIC_URL and WEBAUTHN_RP_ID to it and use ports 80 and 443. Update later with docker compose pull && docker compose up -d.

docker-compose.ymlDownload
.envDownload
Loading… open env.example

Keep .env private. The admin password is reset to ADMIN_PASSWORD every time the API starts, so change it there. Set tls_verify: true on every agent once you use HTTPS.

Built with
  • Node.js
  • NestJS
  • PostgreSQL
  • TimescaleDB
  • Next.js
  • Recharts
  • Socket.IO
  • Docker Compose
  • Helm
  • systemd
  • MIT licence

Watch your fleet from your own infrastructure.