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. 😦
(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 ;
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.
And then suddenly…
Which was verified by the Datadog website…
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… 😀
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.