Last active
August 29, 2015 13:59
-
-
Save kixorz/10748409 to your computer and use it in GitHub Desktop.
Stackdriver agent setup on Ubuntu Saucy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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