This page outlines the basic features of the Datadog Agent for macOS. If you haven’t installed the Agent yet, instructions can be found in the Datadog Agent Integration documentation.
By default, the Agent is installed in a sandbox located at /opt/datadog-agent
. You can move this folder wherever you like; however, this documentation assumes a default installation location.
Note: macOS 10.12 and above are supported by the Agent v6, macOS 10.10 and above by the Agent v5.
In Agent v6 and v7, the launchctl
service manager provided by the operating system is responsible for the Agent lifecycle, while other commands must be run via the Agent binary directly. Alternatively, lifecycle commands can also be managed via the systray app, and other commands can be executed via the web GUI.
Description | Command |
---|---|
Start Agent as a service | launchctl start com.datadoghq.agent or systray app |
Stop Agent running as a service | launchctl stop com.datadoghq.agent or systray app |
Restart Agent running as a service | run stop then start or systray app |
Status of Agent service | launchctl list com.datadoghq.agent or systray app |
Status page of running Agent | datadog-agent status or web GUI |
Send flare | datadog-agent flare or web GUI |
Display command usage | datadog-agent --help |
Run a check | datadog-agent check <CHECK_NAME> |
Description | Command |
---|---|
Start Agent as a service | datadog-agent start |
Stop Agent running as a service | datadog-agent stop |
Restart Agent running as a service | datadog-agent restart |
Status of Agent service | datadog-agent status |
Status page of running Agent | datadog-agent info |
Send flare | datadog-agent flare |
Display command usage | not implemented |
Run a check | datadog-agent check <CHECK_NAME> |
The configuration files and folders for the Agent are located in:
~/.datadog-agent/datadog.yaml
Configuration files for Integrations:
~/.datadog-agent/conf.d/
The configuration files and folders for the Agent are located in:
~/.datadog-agent/datadog.conf
Configuration files for Integrations:
~/.datadog-agent/conf.d/
Refer to the dedicated Agent Troubleshooting documentation.
The Agent contains an embedded Python environment at /opt/datadog-agent/embedded/
. Common binaries such as python
and pip
are contained within /opt/datadog-agent/embedded/bin/
.
See the instructions on how to add packages to the embedded Agent for more information.
Additional helpful documentation, links, and articles:
On this Page