Activar plugins de Varnish en Munin

19 03 2014

Si ya se tiene Munin instalado, queda sólo hacer los enlaces simbólicos siguientes dentro de “/etc/munin/plugins/”:

cd /etc/munin/plugins/
ln -sf /usr/share/munin/plugins/varnish_ varnish_expunge
ln -sf /usr/share/munin/plugins/varnish_ varnish_transfer_rates
ln -sf /usr/share/munin/plugins/varnish_ varnish_bad
ln -sf /usr/share/munin/plugins/varnish_ varnish_objects
ln -sf /usr/share/munin/plugins/varnish_ varnish_uptime
ln -sf /usr/share/munin/plugins/varnish_ varnish_request_rate
ln -sf /usr/share/munin/plugins/varnish_ varnish_memory_usage
ln -sf /usr/share/munin/plugins/varnish_ varnish_hit_rate
ln -sf /usr/share/munin/plugins/varnish_ varnish_threads
ln -sf /usr/share/munin/plugins/varnish_ varnish_backend_traffic

Y comprobar que se tienen las líneas siguientes en “/etc/munin/plugin-conf.d/munin-node”, sino, añadirlas:

[varnish_*]
env.varnishstat varnishstat
user root

Instalar las dependencias, si es que no las tiene:
# apt-get install libxml-parser-perl

Probar con:
# munin-run varnish_uptime

Reiniciar munin y esperar a ver las gráficas.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: