Debug School

Mahesh
Mahesh

Posted on

Title - Understanding Datadog Agent by Mahesh

1-** What is Datadog agent?**
It collects events and metrics from hosts and sends them to
Datadog, where you can analyze your monitoring and
performance data
the Agent is configured using a YAML file.
the Agent is the recommended method to forward your data to the Datadog Platform.
2- Type of Datadog Agent?
Logs.
Metrics (gauge, rate, counter, and histogram).
Service checks.
Agent metadata and other events emitted from the /intake/ endpoint.
3- Ports used to in Datadog agent?
5000/tcp
Port for the go_expvar server
5001/tcp
Port the IPC API listens to
5002/tcp
Port for the Agent browser GUI
8125/udp

8126/tcp
Port for the APM receiver

4- Top 5 commands with simple explanation troubleshooting Datadog agent?

config Print the runtime configuration of a running agent
configcheck Print all configurations loaded & resolved of a running agent
diagnose Execute some connectivity diagnosis on your system
dogstatsd-capture Start a dogstatsd UDS traffic capture
dogstatsd-replay Replay dogstatsd traffic
systemctl start datadog-agent
$ systemctl stop datadog-agent
$ systemctl restart datadog-agent
$ systemctl status datadog-agent
**

  1. Locate how to enable Logs monitoring in datadog.yaml** /etc/datadog-agent/conf.d/ /etc/datadog-agent/datadog.yaml

Troubleshooting
5.techniques for troubleshooting Datadog?
i. host connected to the internet
ii. The Datadog API key set up in datadog.yaml configuration
file the API key corresponding to your Datadog platform
iii. The site configured in y datadog.yaml configuration
file matching the one from the organization.
iv. There is only one Datadog Agent running on your host
V. Restart the Datadog Agent after editing a yaml
configuration file

Top comments (0)