Monitor system

LLM-written (Fable 5 and an unknown model)

Configuration

Each machine uses direct SCPI subscriptions by default. Omit server_port for this mode. Setting it selects qslib-server status and resumable SSE events without a client-side SCPI session. Both modes emit the same Influx measurements. Direct mode cannot replay events lost during a disconnect. Server mode replays retained events; an expired cursor or restart yields a fresh status snapshot.

Server mode checks its requirements individually rather than requiring a particular server version: the server must provide SSE events and instrument status (by capability or advertised relation), epoch-sequence cursors, event-time context, and initial stream snapshots, and a missing requirement is reported by name. A server redeployed mid-session is picked up through the reset event that follows reconnection.

[[machines]]
name = "qpcr-example"
host = "qpcr-example"
# server_port = 7500
# server_token = "observer-token"  # omit for anonymous Observer access

Command line

Use --config to select the TOML file and --log-level to change logging. Validate a configuration without opening the state database:

qs-monitor --check-config --config /etc/qs-monitor/config.toml

The qs-monitor README contains the full configuration and Matrix command reference. See the installation guide for the systemd unit, release deployment, and rollback commands.