Debug School

Sourav Karmakar
Sourav Karmakar

Posted on

Understanding Datadog Agent

What is Datadog Agent?
The Datadog Agent is software that runs on our hosts. It collects events and metrics from hosts and sends them to Datadog, where we can analyze our monitoring and performance data.

Types of Datadog Agent.
Collector, DogstatsD

Ports used to in Datadog Agent
443/tcp, 123/udp

Top 5 commands
$ systemctl start datadog-agent - start the agent
$ systemctl stop datadog-agent - stop the agent
$ systemctl status datadog-agent - status of the agent
$ datadog-agent config - print all the runtime configuration
$ more /etc/datadog-agent/datadog.yaml - details of configuartion file
$ ls /var/log/datadog/ - listing

Locate how to enable Logs monitoring in datadog.yaml
edit the datadog-values.yaml file. Locate the logs: section and set enabled: false to enabled: true.

Techniques for troubleshooting Datadog
Verify API token (datadog.yaml)
Verify site/region (datadog.yaml)
Restart the services
check if logs enabled under config file

Top comments (0)