Basic Agent Usage for Source Installation

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 anywhere. 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, such as start/stop/restart/status, 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

See the Agent Troubleshooting documentation.

Further Reading