Deploying the Agent on RaspberryPI
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Using Raspbian
Begin with the update of your local cache
Then install sysstat
.
sudo apt-get install sysstat
Navigate to the Agent Install Screen in Datadog and select “from source”
Execute the installation command.
DD_API_KEY=<YOUR-API-KEY> sh -c "$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/setup_agent.sh)"
Note: The installation process may take up to 30 minutes on some models of Raspberry PI.
Example output after successful installation:

The Agent runs in the foreground. Some users find benefit in creating a systemd
service for the Agent like this:
#/etc/systemd/system/datadog.service
[Unit]
Description=Datadog Agent
[Service]
ExecStart=/path/to/.datadog-agent/bin/agent
[Install]
WantedBy=multi-user.target
Then, run:
systemctl daemon-reload
sudo systemctl enable datadog
systemctl start datadog
The Datadog Agent is installed in the working directory where you ran the installation command, for example: /home/pi/.datadog-agent/
.
Example of metrics being ingested from your Raspberry PI device:

Note: Datadog does not officially support Raspbian.