Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories


Monitoring Varnish with Munin

adminadmin

Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: Installing and configuring Varnish HTTP accelerator.

Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven’t installed it already, use this tutorial: Monitoring multiple servers with Munin.

Assuming you have both varnish and munin installed, here’s a tutorial on installing a plugin for munin to monitor Varnish.

1. Install git-core to receive the plugin from github

apt-get install git-core

2. cd into the munin plugins directory

/usr/share/munin/plugins

3. Download the munin-varnish plugin

git clone git://github.com/basiszwo/munin-varnish.git

4. Set correct permissions

chmod a+x /usr/share/munin/plugins/munin-varnish/varnish_*

5. Link the plugin sections to the munin config

ln -s /usr/share/munin/plugins/munin-varnish/varnish_* /etc/munin/plugins/

6. Add these lines to the bottom of the munin-node config (pico /etc/munin/plugin-conf.d/munin-node)

[varnish*]
user root

7. Restart munin-node

/etc/init.d/munin-node restart

Comments 0
There are currently no comments.