Assignment 8 DataDog
1) What is Datadog Agent?
ans. The Datadog Agent is software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog, where you can analyze your monitoring and performance data.
3)Top 10 commands of Datadog Agent
ans. Start the Agent – systemctl start datadog-agent
Stop the Agent – systemctl stop datadog-agent
Restart the Agent – systemctl restart datadog-agent
Status of the agent systemctl status datadog-agent
Print all configurations – datadog-agent configcheck
Runtime configuration – datadog-agent config
Print the ggent health – datadog-agent health
Print the hostname of Agent – datadog-agent hostname
Print version – datadog-agent version
Help about any command – datadog-agent help
4) Locate how to enable Logs monitoring in datadog.yaml?
ans. To enable log collection with an Agent running on your host, change logs_enabled: false to logs_enabled: true in the Agent’s main configuration file (datadog.yaml).
5) Top 10 Techniques for troubleshooting Datadog Agent
ans. Is your Agent container stopping right after starting? It can be a hostname detection issue.
Is your host connected to the internet or able to access it through a proxy?
If using a proxy: is your Agent configured for this proxy?
Is the Datadog API key set up in your datadog.yaml configuration file the API key corresponding to your Datadog platform?
Is the site configured in your datadog.yaml configuration file matching the one from your organization?
Is there only one Datadog Agent running on your host?
Did you restart the Datadog Agent after editing a yaml configuration file?