SetupStep 1 of 5
Create a box
One box per server you want to watch.
A box is one server you want to watch — an EC2 instance, a machine in your own rack, a development VM. Each box gets its own agent key, and each server runs exactly one agent. The agent that watches it runs on Debian-based servers — Debian, Ubuntu and the like.
One agent, the whole host
The agent is not per service. A single agent on on-prem-server-1 reports that machine's CPU, memory and storage regardless of what is running on it — a database, a web server, a queue worker, or all three. You do not create a box per process.
So the mapping is simple:
- One physical or virtual server → one box
- One box → one agent key
- One agent key → one running agent
Create one
- Open Boxes and sign in.
- Choose New box.
- Give it a name and confirm.
Monilogix generates an agent key for the box straight away. Boxes created here are saved to your account — this is the real setup, and the rest of this guide continues from it.
If the agent is already running
Sometimes the host has an agent before it has a box: you deleted the box but left the service running, you rebuilt your Monilogix deployment, or the machine was provisioned before anyone registered it. In that case pick Agent already installed in the dialog and paste the key the host is already using — the agent_key line in /etc/monilogix/config.yaml.
The new box adopts that key, so there is nothing to change on the machine and no restart to schedule. The agent carries on reporting and the box turns Receiving on its next tick.
A key can only belong to one box. If it is already registered — to this account or any other — creating the box is refused rather than silently taking it over. That is what stops one host's readings being redirected by anyone who learns its key.
Naming
Name a box after the machine, not its job. Jobs move between servers; the server stays put. Names like ec2-1, on-prem-server-1 or development-server stay accurate a year from now, whereas database stops being true the moment you move the database.
Names are for you, not the agent — the agent key is what identifies the box. You can rename a box at any time without touching the server.