Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
If you have Agent v5 already installed, a script is available to automatically install or upgrade to the new Agent. It sets up the package repositories and installs the Agent package for you. When upgrading, the import tool also searches for an existing datadog.conf from a prior version, and converts Agent and check configurations according to the new v6 format. Select your platform below for specific instructions. You can either download the DMG package and install it manually, or use the one-line install script.
Note: The import process won’t automatically move custom Agent checks. This is by design as Datadog cannot guarantee full backwards compatibility out of the box.
There is no one step install for Windows platforms, refer to the Manual Upgrade.
The Agent v6 installer can automatically convert v5 configurations during the upgrade:
Note: The import process won’t automatically move custom Agent checks. This is by design as Datadog cannot guarantee full backwards compatibility out of the box.
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6 with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled.:
Copy the example configuration into place and plug in your API key:
sudo sh -c "sed 's/api_key:.*/api_key: <YOUR_API_KEY>/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml"
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled.:
<OLD_CONFIGURATION_DIRECTORY> is the directory containing the datadog.conf file
<DESTINATION_DIRECTORY> is the directory where the imported datadog.yaml is written (you can use the same directory as <OLD_CONFIGURATION_DIRECTORY>).
Note: datadog.conf is automatically upgraded to datadog.yaml on upgrade.
Download the DMG package of the latest Agent version. Use the latest macOS release listed on the [release page][9] of the repository.
Install the DMG package.
Add your API key to /opt/datadog-agent/etc/datadog.yaml.
Transition your Agent configuration paths and formats from Agent v5 to Agent v6, with the import command. The command parses an existing v5 datadog.conf and converts the configuration options to the new v6 datadog.yaml format. It also copies configuration files for checks that are currently enabled:
datadog-agent import /opt/datadog-agent/etc/ /opt/datadog-agent/etc/
Then start the Datadog Agent application (once started, you should see it in the system tray), and manage the Agent from there. Agent v6 includes a web-based GUI to edit the Agent configuration files and much more.