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@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@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@www8:/etc/munin/plugins# perl /usr/share/munin/plugins/varnish4_
autoconf
yes
root@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@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
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@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@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@www8:/etc/munin/plugins# perl /usr/share/munin/plugins/varnish4_
autoconf
yes
root@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@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