Skip to content
Setup/Copy its agent key

SetupStep 2 of 5

Copy its agent key

How a box proves which server it is.

Creating a box generates an agent key. It is how an agent proves which box it is reporting as, and it is the only piece of configuration the agent genuinely needs.

A key is minted for you in the ordinary case. If the host is already running an agent, a box can instead adopt the key it already uses — see Create a box. Either way the box ends up with exactly one key, and that key belongs to it alone.

What a key looks like

mlx_4f8a2c91d7e6b3054a1f8c2d9e7b6a30

An mlx_ prefix followed by 32 hexadecimal characters. Keys are shown masked in the interface; reveal or copy the full value from the box's settings, behind the gear icon on its page.

One key per box

Do not reuse a key across servers. Two agents reporting under the same key will interleave their readings into a single box, and the numbers you see will be a meaningless mixture of two machines.

Treat it as a secret

Anyone holding the key can submit metrics as that box. Keep it out of version control, shared documents and screenshots. On the server itself it lives in a root-owned config file, which is covered in Paste the key.

If a key leaks

Delete the box and create a new one, then install the agent again with the new key. Deleting a box takes its stored metrics with it, so export anything you still need first.

The old key stops working the moment the box is deleted. Any agent still holding it goes quiet rather than reporting into somebody else's box.