Fleet Management Enterprise
Machines join your account by enrolment and land in a group. Agents carry Kubernetes-style labels by client, region, tier, or any custom dimension. Send commands to each agent in a group and monitor your entire fleet from a single dashboard.
Architecture Overview
Fleet management is built on two primitives: enrolment (a machine certificate and a group, which sets what a machine reaches) and labels (grouping and filtering).
Machine Enrolment
The dashboard's Fleet view has an Add machine card with two forms; each shows its code or token once.
- Enrol code (machine name, group): single use, valid 15 minutes.
- Enrol token (group, labels
k=v, max machines, valid for days, at most 30): enrols up to max machines into the group. It is kept in a file only you can read;--token -reads it from stdin, so it is never on the command line.
# One machine, with an enrol code
nfltr config login --code <code>
# Each of many machines, with an enrol token
nfltr config login --token enrol-token.txt --machine <machine name>
# Id, name, group, certificate expiry
nfltr status --json
Enrolment makes the machine's key on the machine; the key never leaves it and is never printed. The machine gets a certificate naming it by its machine id; nfltr http and nfltr up present it and renew it by themselves (24 h; a machine that was off renews it when it connects again, up to 90 days later). The certificate is the relay's only credential: there are no API keys.
A group's machines reach each other's agents and no agent outside the group; reach rules in the dashboard's Groups view open more. Groups never reach another account.
Labels & Selectors
Agents carry key-value labels that describe their role, location, and ownership:
# Agent connects with labels
nfltr http 8080 --agent web-server \
--labels client=acme,env=prod,region=us-east
Labels filter agent listings (the dashboard, the presence API) by exact key=value matches:
| Selector | Matches |
|---|---|
client=acme | All agents with client label "acme" |
env=prod,region=us-east | Production agents in US East (AND logic) |
type=sensor | All sensor-type agents across regions |
Commands to Many Agents
Messages reach agents through agent-to-agent messaging. The relay forwards each session to one agent; it does not copy one stream to several. A caller reaching a group of agents opens one session per agent:
# Send a reload command to the service "control" of one machine
echo '{"action":"reload-config"}' | nfltr cat pipe web-1/control
# Reach several machines: one session per machine
for m in sensor-001 sensor-002; do
echo '{"action":"update","version":"2.1.0"}' | nfltr cat pipe "$m/control"
done
Dashboard Management
📊 Agent catalog
See which agents are up on Home; its Details link lists every agent with its labels and filters them by label.
🔑 Fleet and Groups
Add machines with an enrol code or token in the Fleet view; open reach between groups with reach rules in the Groups view.
📋 Security Log
Logins and authentication failures are written as structured records to the relay log.
Scaling
The relay can run as several replicas of one relay:
- Shared directory — Agent registrations are shared by every replica (a Redis directory)
- Cross-replica routing — The replica link forwards a session to the replica its agent is connected to
- Agent roaming — Agents can reconnect to any replica after network interruptions
- Prometheus metrics — Fleet-level gauges and latency histograms
The embeddable Go SDK supports WithLabels() — embed the agent in your product and group its agents by label.
Manage your fleet
Machine enrolment, groups, label filters and a security log.
Install the CLI Organisations →