Deploying the Agent on RaspberryPI

 

Installation

(This guide assumes you are 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 the Datadog Application and select “from source”

Agent Install Screen

  1. 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)"

If installed correctly you should see an output that looks like:

Success!

The agent will run in the foreground. Some users may find benefit in creating an RC script for it or putting it into the /etc/rc.local like this:

nohup sh /root/.datadog-agent/bin/agent &

You should now see metrics being ingested from your RasberryPI device:

Metrics!

Thank you to Karim Vaes for the excellent blog post!

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk