DD_API_KEY= DD_SITE="datadoghq.com" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"
To install the agent in Linix
systemctl start datadog-agent
To start the datadog agent
systemctl restart datadog-agent
To restart the datadog agent
systemctl stop datadog-agent
To restart the datadog agent
systemctl status datadog-agent
To check the status for the agent whether its running or not
datadog-agent configcheck
To get the list of config item check information
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
Instance ID: cpu:e331d61ed1323219
{}
~
=== disk check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/disk.d/conf.yaml.default
Instance ID: disk:67cc0574430a16ba
use_mount: false
~
=== file_handle check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/file_handle.d/conf.yaml.default
Instance ID: file_handle:381b8b6ca58d37b0
{}
~
=== io check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/io.d/conf.yaml.default
Instance ID: io:541b60d158de04a7
{}
~
=== load check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
Instance ID: load:bf7cea93fb3aa780
{}
~
=== memory check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
Instance ID: memory:3f1f6288b95b9979
{}
~
=== network check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
Instance ID: network:4b0649b7e11f0772
{}
~
=== ntp check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/ntp.d/conf.yaml.default
Instance ID: ntp:3c427a42a70bbf8
{}
~
=== uptime check ===
Configuration provider: file
Configuration source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
Instance ID: uptime:c72f390abdefdf1a
{}
~
datadog-agent config
To get the configuration details.
datadog-agent health
To check healthcheck of the component
Agent health: PASS
=== 16 healthy components ===
ad-servicelistening, aggregator, collector-queue-15s, collector-queue-900s, dogstatsd-main, forwarder, healthcheck, healthcheck, metadata-agent_checks, metadata-host, metadata-inventories, metadata-resources, tagger-store, tagger-workloadmeta, workloadmeta-puller, workloadmeta-store
datadog-agent hostname
To get the hostname where the agent is running
datadog-agent version
To get the version of the agent running
Top comments (0)