Subscribed unsubscribe Subscribe Subscribe

Assigning roles to hosts

From the web UI

To assign a role that you have created to a host, first log into Mackerel and access the list of hosts by clicking on “Hosts” in the sidebar. Next click on “Assign roles” in the SERVICE / ROLE column of the host you wish to assign a role to. A dialogue box will open with a list of roles; select one and click update to assign the role.

From the agent

By editing the agent’s configuration file, you can have the agent automatically assign services and roles when it boots up. For more information please refer to the agent specifications documentation.

-

If you have any questions please contact our support team at support@mackerel.io