Join us at the Dash conference! July 16-17, NYC

Basic Agent Usage for Source Installation

Overview

This page outlines the basic features of the Datadog Agent. If you haven’t installed the Agent yet, instructions can be found in the Datadog Agent Integration page.

By default, your Agent is installed in its own sandbox at ~/.datadog-agent. You’re free to move this folder wherever you like. However, this article assumes that the Agent is installed in its default location, so be sure to modify the instructions accordingly if you decide to move them.

Commands

Datadog Agent has some commands and only the lifecycle commands (i.e. start/stop/restart/status on the Agent) should be run with sudo.

Description Command
Start Agent sudo ./bin/agent/agent start
Stop Agent sudo ./bin/agent/agent stop
Status page of running Agent sudo ./bin/agent/agent info
Send flare sudo ./bin/agent/agent flare
Display command usage sudo ./bin/agent/agent help
Description Command
Start Agent sudo ~/.datadog-agent/bin/agent start
Stop Agent sudo ~/.datadog-agent/bin/agent stop
Status page of running Agent sudo ~/.datadog-agent/bin/agent info
Send flare sudo ~/.datadog-agent/bin/agent flare
Display command usage sudo ~/.datadog-agent/bin/agent help

Configuration

The configuration files and folders for the Agent are located in:

  • /etc/datadog-agent/datadog.yaml

Configuration files for Integrations:

  • /etc/datadog-agent/conf.d/

The configuration files and folders for the Agent are located in:

  • /etc/dd-agent/datadog.conf

Configuration files for Integrations:

  • /etc/dd-agent/conf.d/

Troubleshooting

Refer to the dedicated Agent Troubleshooting documentation.

Further Reading