Skip to content

Instantly share code, notes, and snippets.

@kixorz
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kixorz/10748409 to your computer and use it in GitHub Desktop.
Save kixorz/10748409 to your computer and use it in GitHub Desktop.
Stackdriver agent setup on Ubuntu Saucy
taken from:
http://support.stackdriver.com/customer/portal/articles/1491764-installing-the-stackdriver-agent-on-ubuntu-and-debian
switch to root and:
curl -o /etc/apt/sources.list.d/stackdriver.list http://repo.stackdriver.com/wheezy.list
curl --silent https://app.stackdriver.com/RPM-GPG-KEY-stackdriver | apt-key add -
apt-get update
apt-get install libhiredis0.10
apt-get install stackdriver-agent
echo "stackdriver-agent stackdriver-agent/apikey string MYKEY" | debconf-set-selections
for Redis monitoring:
http://support.stackdriver.com/customer/portal/articles/1491754-redis-plugin
nano /opt/stackdriver/collectd/etc/collectd.d/redis.conf
and put there:
LoadPlugin "redis"
<Plugin redis>
<Node "mynode">
Host "localhost"
Port "6379"
Timeout 2000
</Node>
</Plugin>
service stackdriver-agent restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment