Skip to content

Instantly share code, notes, and snippets.

@hberberoglu
Forked from alexwybraniec/gist:2972487
Last active August 29, 2015 14:10
Show Gist options
  • Save hberberoglu/60db212cb8636f5583ca to your computer and use it in GitHub Desktop.
Save hberberoglu/60db212cb8636f5583ca 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