Write down list of Top Datadog Agent commands with their usage
D_AGENT_MAJOR_VERSION=7 DD_API_KEY=DD_SITE="datadoghq.com" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"- This will install the datadog-agent script, Installing API package, Installing datadog-agent package. The package will store under /usr/bin/systemctl
systemctl start datadog-agent - This command is used to start the datadog-agent.
systemctl stop datadog-agent - This command is used for stop the datadog-agent
systemctl restart datadog-agent - This command is used to restart the datadog-agent
systemctl status datadog-agent - This command is used to check the status of datadog-agent i.e active or in-active
cd /etc/datadog-agent/datadog.yaml - This path having the datadog-agent configuration yaml file i.e api key, datadog site etc.
cd /var/log/datadog/agent.log - This path we can check the logs for datadog-agent log files.
datadog-agent config - To check the datadog-agent configurations.
datadog-agent health - To check the status of the datadog-agent
datadog-agent version - To check the datadog-agent version
datadog-agent hostname - To check the daatdog-agent hostname by using this command.
Top comments (0)