Last active
May 24, 2018 09:24
-
-
Save zero-master/dcc6c8de63095e4076f3cacf12de8ab4 to your computer and use it in GitHub Desktop.
Monitor Redis with StackDriver Raw
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
#!/bash/sh | |
curl -sS https://dl.google.com/cloudagents/install-monitoring-agent.sh | sudo bash | |
cd /opt/stackdriver/collectd/etc/collectd.d/ | |
sudo curl -O https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/redis.conf | |
cd - | |
sudo service stackdriver-agent restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If password auth is enabled, you need to change default Redis config file for collectd:
https://gist.github.com/zero-master/be8164c242913ab6f2664c6fc6ab532a