Deploying the Agent on RaspberryPI

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Using Raspbian

  1. Begin with the update of your local cache

    sudo apt-get update
    
  2. Then install sysstat.

    sudo apt-get install sysstat
    
  3. Navigate to the Agent Install Screen in Datadog and select “from source”

  4. 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:

RaspberryPI Install

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:

RaspberryPI Dashboard

Note: Datadog does not officially support Raspbian.