If you are experiencing issues with an Agent Check, use these commands to get more troubleshooting information.
Note: Replace <CHECK_NAME> in the examples below with any Agent check. For example: activemq, ceph, or elastic. Review an integration’s documentation to confirm the Agent check name.
Note: To temporarily disable a service check while troubleshooting, rename /conf.d/<CHECK_NAME>.d/conf.yaml to something other than the .yaml or .yml file extension, such as conf.yaml.disable.
For systems using systemd, use journalctl to assist with debugging.
The following command shows the status of the Datadog Agent.
sudo systemctl status datadog-agent
If the Agent failed to start, and no further information is provided, use the following command to display all logs for the Datadog Agent service. If needed, use -r to print logs in reverse order.