Install the Monitoring agent by using automation tools
Stay organized with collectionsSave and categorize content based on your preferences.
In addition to using the Google Cloud CLI or Terraform to createagent policies,
you can use other automation tools to manage the Monitoring agent across
your fleet of Compute Engine VMs:
Ansibleby using the Ansible role, you can install and configure
the agent across your fleet of Linux
VMs. For more information,
see theAnsible Role for Cloud Opsdocumentation.
Chef: by using the Chef cookbook, you can install and configure
the agent across your fleet of Linux
VMs.
For more information, see theChef Integrationdocumentation.
Puppet: by using the Puppet module, you can install and configure
the agent across your fleet of Linux
VMs.
For more information, see thePuppet Integrationdocumentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Install the Monitoring agent by using automation tools\n\nIn addition to using the Google Cloud CLI or Terraform to create\n\n[agent policies](/stackdriver/docs/solutions/agents/monitoring/managing-agent-policies),\n\nyou can use other automation tools to manage the Monitoring agent across\nyour fleet of Compute Engine VMs:\n\n- **Ansible** by using the Ansible role, you can install and configure the agent across your fleet of Linux VMs. For more information, see the [Ansible Role for Cloud Ops](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-ansible#ansible-role-for-cloud-ops) documentation.\n- **Chef** : by using the Chef cookbook, you can install and configure the agent across your fleet of Linux VMs. For more information, see the [Chef Integration](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-chef/blob/master/README.md) documentation.\n- **Puppet** : by using the Puppet module, you can install and configure the agent across your fleet of Linux VMs. For more information, see the [Puppet Integration](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-puppet/blob/master/README.md) documentation."]]