devops:monitoring:datadog:datadog_agent
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| devops:monitoring:datadog:datadog_agent [2025/02/14 09:01] – created 85.219.17.206 | devops:monitoring:datadog:datadog_agent [2025/02/14 09:06] (current) – 85.219.17.206 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| To get started using the Agent, select your platform. | To get started using the Agent, select your platform. | ||
| + | |||
| + | ===== Basic Agent Usage for Ubuntu ===== | ||
| + | |||
| + | === Overview === | ||
| + | |||
| + | This page outlines the basic features of the Datadog Agent for Ubuntu. | ||
| + | |||
| + | To install the Agent, see the installation instructions. Packages are available for 64-bit x86 and Arm v8 architectures. For other architectures, | ||
| + | |||
| + | **Note:** Ubuntu 14.04 and above are supported on the 64-bit x86 architecture. Ubuntu 16.04 and above are supported on the 64-bit Arm v8 architecture. | ||
| + | |||
| + | === Commands === | ||
| + | |||
| + | In Agent v6 and v7, the service manager provided by the operating system is responsible for the Agent lifecycle, while other commands must be run through the Agent binary directly. In Agent v5, almost everything is done through the service manager. | ||
| + | |||
| + | ^ Description | ||
| + | | Start Agent as a service | ||
| + | | Stop Agent running as a service | ||
| + | | Restart Agent running as a service | ||
| + | | Status of Agent service | ||
| + | | Status page of running Agent | `sudo datadog-agent status` | ||
| + | | Send flare | `sudo datadog-agent flare` | ||
| + | | Display command usage | `sudo datadog-agent --help` | ||
| + | | Run a check | `sudo -u dd-agent -- datadog-agent check < | ||
| + | |||
| + | **Note:** If the service wrapper is not available on your system, use: | ||
| + | |||
| + | * On upstart-based systems: `sudo start/ | ||
| + | * On systemd-based systems: `sudo systemctl start/ | ||
| + | |||
| + | === Configuration === | ||
| + | |||
| + | The configuration files and folders for the Agent are located in: | ||
| + | |||
| + | / | ||
| + | |||
| + | Configuration files for Integrations: | ||
| + | |||
| + | / | ||
| + | |||
| + | === Uninstall the Agent === | ||
| + | |||
| + | To uninstall the Agent, run the following command: | ||
| + | |||
| + | sudo apt-get remove datadog-agent -y | ||
| + | |||
| + | This command removes the Agent, but does not remove: | ||
| + | |||
| + | * The `datadog.yaml` configuration file | ||
| + | * User-created files in the `/ | ||
| + | * User-created files in the `/ | ||
| + | * The `dd-agent` user | ||
| + | * Datadog log files | ||
| + | |||
| + | If you also want to remove these elements, run this command after removing the Agent: | ||
| + | |||
| + | `sudo apt-get remove --purge datadog-agent -y` | ||
| + | |||
| + | === Uninstall Single Step APM Instrumentation === | ||
| + | |||
| + | If you installed the Agent with Single Step APM Instrumentation, | ||
| + | |||
| + | === Troubleshooting === | ||
| + | |||
| + | See the [Agent Troubleshooting documentation](https:// | ||
| + | |||
| + | === Working with the Embedded Agent === | ||
| + | |||
| + | The Agent contains an embedded Python environment at `/ | ||
| + | |||
| + | See the instructions on how to add packages to the embedded Agent for more information. | ||
| + | |||
devops/monitoring/datadog/datadog_agent.1739523688.txt.gz · Last modified: 2025/02/14 09:01 by 85.219.17.206
