Pair your machines
One machine is the host: it collects everyone’s metrics and keeps their history. The others are agents that report to it. A machine can be both. Pick a machine that’s always on as the host; a small server is ideal.
-
On the host, give it the host role and open a pairing window:
Terminal window mm-core role hostmm-core pairing codeThat prints a 6-digit code. It works for 5 minutes, for one machine.
-
On each other machine, find the host and pair with it:
Terminal window mm-core hostsmm-core pair <host> <code>Use the host’s name from
mm-core hosts, or its address. Metrics start arriving within seconds. -
Check from the host, or from any agent paired with it:
Terminal window mm-core machines
You can also pair from the dashboard: Pairing shows a code and the command to run on the new machine.
Two hosts
Section titled “Two hosts”Two hosts can pair with each other both ways. Then one pairing code joins a new machine to both, and each has the whole fleet.
Open the dashboard
Section titled “Open the dashboard”On any machine with a screen:
mm-core openThat opens the dashboard in your browser, already logged in. Or install the desktop app. On a machine without a screen, see remote access.
Unpairing
Section titled “Unpairing”mm-core peersmm-core revoke <peer>Revoking removes the pairing on this machine and closes its connection. Revoke it on the other machine too, to tidy up there.