-
-
Save h4cc/86d6d82ef9aeb7cd8486 to your computer and use it in GitHub Desktop.
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment