Ansible is a configuration management tool that can be used to automate setup of servers, databases, and more. The Metricly Agent playbook will help get the Metricly Linux agent up and running in your environment quickly.


  1. Copy the Metricly Agent playbook to your Ansible directory.
    cd /ansible git clone
  2. In the Metricly Agent playbook (netuitive-agent.yml), update the hosts setting to use desired host or inventory file.
  3. Replace apikey in the metricly_linux_api setting with the API key from the Linux integration in your Metricly account. To find this API key, point to the user account menu in the top right-hand corner of Metricly and select Integrations. Your Linux API key is found next to the integration listed as INFRASTRUCTURE.
  4. Run the Metricly Agent playbook, replacing hosts-file-name with the name of your hosts file.
    ansible-playbook -i hosts-file-name netuitive-agent.yml