Skip to content

Instantly share code, notes, and snippets.

@alexwybraniec
Created June 22, 2012 12:32
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save alexwybraniec/2972487 to your computer and use it in GitHub Desktop.
Save alexwybraniec/2972487 to your computer and use it in GitHub Desktop.
Enabling Memcached graphing in Munin, Ubuntu 10.04 LTS, with munin-node already installed
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
@bedingue
Copy link

thanks for that gist!

@MartinBrugnara
Copy link

perfect

@kiaplayer
Copy link

Thanks!

@h4cc
Copy link

h4cc commented Nov 16, 2013

Still works with later Ubuntu versions.

@stephen-hill
Copy link

Can confirm this works in Ubuntu 12.04 LTS too.

@podarok
Copy link

podarok commented Dec 1, 2014

this works for ubuntu 14.04 too

@br3d
Copy link

br3d commented Jan 22, 2016

Thx.

@nilparra
Copy link

Thx. Perfect for debian.

@sesom42
Copy link

sesom42 commented Aug 19, 2016

Works on Debian 8.5/Jessie too. Thx.

@kingthrillgore
Copy link

Works like a dream for Ubuntu 16.04. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment