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.

DescriptionCommand
Start Agentsudo ./bin/agent/agent start
Stop Agentsudo ./bin/agent/agent stop
Status page of running Agentsudo ./bin/agent/agent info
Send flaresudo ./bin/agent/agent flare
Display command usagesudo ./bin/agent/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/

Troubleshooting

See the Agent Troubleshooting documentation.

Further Reading