TABLE OF CONTENTS |
■ Agent Install
① Linux
RedHat/CentOS 계열
OSes such as RedHat, CentOS, Amazon Linux, Oracle Linux, Rocky Linux, and Fedora are applicable. This installation guide guides you through RedHat/CentOS 6+ or higher.
- Installing Datadog Agent on the Internet
Installing Datadog One Step
Change <DATADOG API KEY> to the API KEY of the ORG you want to collect and run the command below.The above command is Integration > Agent You can check by selecting OS from the menu.
On that screen Command When copying Enable APM Instrumentation(today Beta function)to Off It is recommended to set it to (remove the DD_APM_INSTRUMENTATION_ENABLED=host part in the command)
If you only want to check the API Key, Datadog Console 계정 > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.
Datadog step-by-step installation
Create a yum repository (/etc/yum.repos.d/datadog.repo) on the host that will use Datadog and add the content below.
Update the local yum repo and install the Datadog Agent.
Copy the datadog agent configuration file, change the API Key, and add Datadog site information.
Set permissions.
Restart the Datadog Agent and check the Agent status.
- Installing Datadog Agent in a closed network
Datadog step-by-step installation
https://yum.datadoghq.com/stable/7/x86_64/ Download the latest version of the installation package from .
datadog-agent-7.xx.x-1.x86_64.rpm Please download the latest version of the file in this format.
( 2024년 2월 : https://s3.amazonaws.com/yum.datadoghq.com/stable/7/x86_64/datadog-agent-7.50.3-1.x86_64.rpm)Install the package
Copy the datadog agent configuration file and change the API Key, add the Datadog site information. The API Key is in the Datadog Consolee Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.
Set permissions.
Restart the Datadog Agent and check the Agent status.
Debian/Ubuntu 계열
A representative example is the OS such as Ubuntu. This installation guide guides you through Ubuntu 14.04+.
- Installing Datadog Agent on the Internet
Datadog One Step installation
Run the command below by changing <DATADOG API KEY> to the API KEY of the ORG you want to collect.The above command is Integration > Agent You can check by selecting OS from the menu.
When copying the Command from that screen, we recommend setting Enable APM Instrumentation (currently a Beta feature) to Off. (Remove the DD_APM_INSTRUMENTATION_ENABLED=host part in the Command)
If you only want to check the API Key, Datadog Console Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.
Datadog step-by-step installation
Set apt to download via https and install curl and gnupg.
Create a deb repository for the host and create a Datadog archive keyring.
Update local apt repo and install Datadog Agent.
Copy the datadog agent configuration file, change the API Key, and add Datadog site information.
Set permissions.
Restart the Datadog Agent and check the Agent status.
- Installing Datadog Agent in a closed network
Datadog 단계별 설치
https://apt.datadoghq.com/pool/d/da/ Download the latest version of the installation package from .
datadog-agent-7.xx.x-1_arm64.deb Please download the latest version of the file in this format.
( 2024년 2월 : https://s3.amazonaws.com/apt.datadoghq.com/pool/d/da/datadog-agent_7.50.3-1_arm64.deb)Install the package
Copy the datadog agent configuration file, change the API Key, and add Datadog site information.
API Key is Datadog Console Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.Set permissions.
Restart the Datadog Agent and check the Agent status.
② Windows
This installation guide covers Windows Server 2008 R2+ and above, and does not support lower versions. Windows OS downloads and installs the Datadog Agent Installer (msi) file, so there is no difference in the installation method depending on the network environment.
Download the Datadog Agent installer.
https://s3.amazonaws.com/ddagent-windows-stable/datadog-agent-7-latest.amd64.msiInstall datadog-agent-7-latest.amd64.msi with administrator privileges.
Agree to the license agreement and enter your Datadog ORG API Key.
API Key is Datadog Console Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.
Datadog The area is http://datadoghq.com Select and complete the installation.
Restart Datadog Agent and check Agent status.
Run Datadog Agent Manager with administrator privileges.
Click Settings on the left menu (screen below). Modify the information to suit your environment, click the Save button, and run Restart Agent. If the status at the top is Connected to Agent, it is normal.
③ Windows AD
Create ddagentuser to install Datadog Agent in User of AD Domain Controller and it needs permission from ‘Performance Monitoring (Performance Monitor Users)’ and ‘Event Log Viewer (Event Log Readers)’ groups.
reference URL: https://docs.datadoghq.com/agent/faq/windows-agent-ddagent-user/#installation-in-a-domain-environment
ddagentuser Create an account.
In Server Manager, select Tools > Active Directory Users and Computers (dsa.msc).
Right-click in the blank space on the right side of the window with domain information and click ‘New > User’.
Enter ddagentuser in the user account information and click ‘Next’.
In the Password and Password Policy settings, enter an appropriate password that complies with the security rules (*Note that semicolons (;) should not be used), set the options appropriately, and then click ‘Next’.
The option is to disable password changes by unchecking the boxes ‘User must change password at next logon’ and ‘Password never expires’.After checking the information, click ‘Finish’.
Afterwards, check whether it has been registered normally in the ddagentuser user properties as shown below.
Check ‘Unlock Account’ to ensure that you can use your account without any problems.
Add ‘Event Log Readers’ and ‘Performance Monitor Users’ permissions.
Install datadog-agent-7-latest.amd64.msi on the Windows host. Unlike the general Datadog Agent installation in the ‘Windows OS Installation’ above, install it by setting the user and password.
In the Command Prompt window, navigate to the location where datadog-agent-7-latest.amd64.msi is located. Then, type the following command:
Change the <domain controller address> and <set password> sections to the domain controller address and the password set in step 1, respectively, and then run the command.
Afterwards, when the API key input screen appears, enter the API key.
API Key is in Datadog Console Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.Datadog The area is http://datadoghq.com Select and complete the installation.
Restart Datadog Agent and check Agent status.
Run Datadog Agent Manager with administrator privileges.
Click Settings on the left menu (screen below). Modify the information to suit your environment, click the Save button, and run Restart Agent. If the status at the top is Connected to Agent, it is normal.
④ Kubernetes
This installation guide provides a Helm method for installing the Datadog agent on Kubernetes environments such as AWS Elastic Kubernetes Service (EKS), Azure Kubernetes Service (AKS), and Google Kubernetes Engine (GKE).
Configuring Datadog agent in Kubernetes environment
The configuration of the Datadog agent in a Kubernetes environment is as follows.datadog-node-agent: Runs on each node as a daemonset and collects node-level information.
datadog-cluster-agent: datadog-node-agent directly queries the API server of the Master node. As the cluster grows, the logs of the Master node's API server and etcd increase. Therefore, it acts as a proxy between the API server and the node agent to reduce the server load on the Master node.
Install Datadog agent
Install Helm.
Add the Datadog Helm repository and update the repository to the latest version.
Deploy the Datadog Agent using the values.yaml configuration file.
Helm v3+
<TARGET_SYSTEM>: Change to the OS name, such as Linux or Windows.
API Key는 Datadog Console Account > Organization Settimngs > ACCESS > API Key After selecting KEY, click the Copy button in the pop-up to copy the API KEY.
Helm v1/v2
Metrics are collected after installation.
■ Agent Uninstall
Linux
RedHat/CentOS
Uninstall the Datadog Agent package.
Delete the user and associated directories (/opt/datadog-agent, /etc/datadog-agent, /var/log/datadog).
Debian/Ubuntu
Uninstall the Datadog Agent package.
Or delete all user and associated package data.
Windows
In the Windows search bar, search for add and then select Add or remove programs.
After searching for Datadog Agent, select it and click the Uninstall button to remove it.
Kubernetes
Delete the Datadog agent and Helm Chart repository using Helm.
Online consultation
Contact us