Datadog on Raspberry Pi

Introduction

Datadog is one of the more popular cloud monitoring tools in the DevOps community. It is not as strong in the APM suite as a NewRelic, though it is a very nice product. The reason I’m trying it today, is because I love my raspberry pi’s… and NewRelic does not support ARM. 😦

Installation

(Assumption ; I’m assuming you are using raspbian…)

We’ll start of with update our local cache…

sudo apt-get update

And then install “sysstat”.

sudo apt-get install sysstat

And now browse to your datalog account and select “from source” when selecting an agent ;

2015-12-29 09_18_28-New notification

And execute the command ;

DD_API_KEY=myawesomkey sh -c "$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/setup_agent.sh)"

And enjoy the magic… or wait for the magic.

2015-12-29 09_28_06-

And then suddenly…

2015-12-29 10_00_26-pi@pi_ ~

Which was verified by the Datadog website…

2015-12-29 09_57_06-New notification

Though the agent was running in the foreground, which is not very clean… Best to either make an RC script for it, or the sleazy way… Put it into the /etc/rc.local like this…

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

Anyhow, the stats are pouring in… 😀

2015-12-29 10_03_08-pi.kvaes.be _ Datadog

Conclusion

There is a tool which enables cloud monitoring for your Raspberries! Though it is a bit of manual process and you’ll need to foresee your own startup wrapper.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s