Infrastructure monitoring
Installing Capture agent
Setup the monitoring agent on your servers for infrastructure metrics.
Overview
Capture is a lightweight monitoring agent that collects infrastructure metrics from your servers and sends them to Checkmate. It runs as a small RESTful API exposing hardware metrics.
Supported platforms
Capture runs on Linux, Windows, macOS, Raspberry Pi, and any device capable of running Go applications.
What it monitors
- CPU — temperature, load, frequency, usage
- Memory — utilization and available memory
- Disk — usage, inode usage, read/write bytes, S.M.A.R.T. data
- Network — activity and packet information
- Docker — container statistics
Installation methods
Docker (recommended)
docker run \
-v /etc/os-release:/etc/os-release:ro \
-p 59232:59232 \
-e API_SECRET=REPLACE_WITH_YOUR_SECRET \
-d ghcr.io/bluewave-labs/capture:latestPre-built binaries
- Download from GitHub Releases
- Place in
/usr/local/bin - Make executable:
chmod +x /usr/local/bin/captureGo install
go install github.com/bluewave-labs/capture/cmd/capture@latestBuild from source
git clone https://github.com/bluewave-labs/capture
cd capture
just build
# or: go build -o dist/capture ./cmd/capture/Configuration
Capture uses three environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
API_SECRET | Yes | — | Shared secret for authentication with Checkmate |
PORT | No | 59232 | Port the agent listens on |
GIN_MODE | No | debug | Set to release for production |
Starting the agent
API_SECRET=your_secret GIN_MODE=release ./captureConnecting to Checkmate
- Navigate to Infrastructure in Checkmate's sidebar
- Click Add server
- Enter the server's address and the API secret you configured
- The server appears automatically once connected
The API secret configured on the Capture agent must match the secret entered in Checkmate's infrastructure dashboard.
S.M.A.R.T. monitoring
S.M.A.R.T. disk health monitoring requires:
- Capture installed as a binary (not Docker)
- The
smartmontoolspackage installed on the host
# Ubuntu/Debian
sudo apt install smartmontools
# RHEL/CentOS
sudo yum install smartmontoolsS.M.A.R.T. monitoring is not supported when running Capture in Docker due to hardware access limitations.