1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00:00
Munin-Contrib/plugins/varnish4
Léo POIROUX cc15e33453 Bugfix warning messages
Odd number of elements in hash assignment at /etc/munin/plugins/varnish_bans line 884.
Use of uninitialized value $ident in hash element at /etc/munin/plugins/varnish_bans line 927.
2015-03-10 16:27:39 +00:00
..
README.md small update of README.md 2015-02-22 14:40:21 +01:00
varnish4_ Bugfix warning messages 2015-03-10 16:27:39 +00:00

Munin Plugin for Varnish 4

Modified version of the plugin for Varnish 2/3 from the munin distribution to adapt to the XML output of Varnish 4 varnishstat.

Installation

  • Copy varnish4_ to the Munin plugins directory (/usr/share/munin/plugins/)
  • Make varnish_ runnable (chmod +x /usr/share/munin/plugins/varnish_)

Configuration

Run munin-node-configure --shell and link the aspects to monitor to your actual plugins directory.

In your plugins.conf add

[varnish4_*]
     env.varnishstat varnishstat
     env.name

env.varnishstat can be a full path to varnishstat if it's not in the path already.

env.name is blank (undefined) by default and can be used to specify a -n name argument to varnish if multiple instances are running on the same server.