Network Performance Monitoring is now generally available! Network Monitoring is now available!

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.

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