Created
October 2, 2012 12:45
-
-
Save mathieue/3818788 to your computer and use it in GitHub Desktop.
Install varnish on debian squeeze with munin plugins
This file contains 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
curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add - | |
echo "deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install varnish | |
# test | |
varnishtop -i rxurl | |
varnishstat | |
# munin plugins | |
apt-get install libnet-telnet-perl | |
cd /usr/share/munin/plugins | |
git clone git://github.com/basiszwo/munin-varnish.git | |
chmod a+x /usr/share/munin/plugins/munin-varnish/varnish_* | |
ln -s /usr/share/munin/plugins/munin-varnish/varnish_* /etc/munin/plugins/ 674 echo "[varnish*]user root" >> /etc/munin/plugin-conf.d/munin-node | |
/etc/init.d/munin-node restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment