Created
June 22, 2012 12:32
-
-
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
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
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 |
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
Works on Debian 8.5/Jessie too. Thx.