Varnish 5 and munin plugin

Asbjørn Taugbøl asbjorn.taugbol at investtech.com
Wed Oct 4 10:03:00 UTC 2017


Has anyone a working setup of the munin varnish plugin for Varnish 5? 
What steps did you do?

Since upgrading to Varnish 5 (running 5.0 atm) the munin plugin stopped 
working. Server is Ubuntu 16.04.

munin-run aborts with an error message.


Here is relevant output:
root at www8:/etc/munin/plugins# munin-run varnish4_uptime
Can't exec "/etc/munin/plugins/varnish4_uptime": No such file or 
directory at /usr/share/perl5/Munin/Node/Service.pm line 263.
# FATAL: Failed to exec.

Munin plugin: 
https://github.com/munin-monitoring/contrib/tree/master/plugins/varnish

munin-node config file has this section:
   [varnish4_*]
      group varnish
      env.varnishstat varnishstat

root at www8:/etc/munin/plugins# ls -l varnish4_uptime
lrwxrwxrwx 1 root root 34 Oct  4 10:12 varnish4_uptime -> 
/usr/share/munin/plugins/varnish4_

root at www8:/etc/munin/plugins# perl /usr/share/munin/plugins/varnish4_ 
autoconf
yes

root at www8:/etc/munin/plugins# perl /usr/share/munin/plugins/varnish4_ 
config
No such aspect

Known arguments: suggest, config, autoconf.
Run with suggest to get a list of known aspects.

root at www8:/etc/munin/plugins# perl /usr/share/munin/plugins/varnish4_ 
suggest
expunge
bad
request_rate
transfer_rates
threads
backend_traffic
uptime
memory_usage
objects
hit_rate


Thank you.

-Asbjorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20171004/6c15409d/attachment.html>


More information about the varnish-misc mailing list