Skip to content

Instantly share code, notes, and snippets.

@h4cc
Forked from alexwybraniec/gist:2972487
Last active August 29, 2015 14:12
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 h4cc/86d6d82ef9aeb7cd8486 to your computer and use it in GitHub Desktop.
Save h4cc/86d6d82ef9aeb7cd8486 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install munin-plugins-extra
cd /etc/munin/plugins
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_counters
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_rates
sudo aptitude install libcache-memcached-perl
sudo /etc/init.d/munin-node restart
sudo tail -f /var/log/munin/munin-node.log
Edit: If you are running memcached on a non default port or host, you need to
sudo nano /etc/munin/plugin-conf.d/munin-node
Add the following lines to the end of the config
[memcached_*]
env.host 192.168.123.123
env.port 11211
Save, exit, and restart your node
sudo /etc/init.d/munin-node restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment