Monitoring Varnish cache with Zabbix

Varnish is a very powerfull Open Source caching solution that is very popular on Linux.  Using varnishstat, it can give very richt monitoring statistics to Zabbix.

Just create a file with these lines in your zabbix_agent.conf.d directory:

# Varnish Keys
UserParameter=varnish.stat[*],(test -f /usr/bin/varnishstat && varnishstat -1 -f $1 | awk '{print $$2}')
UserParameter=varnish.sick,(/usr/bin/varnishadm |grep Sick|wc -l)


Read More