Closed davidak closed 9 years ago
Hi david,
check_varnish
relies on the internal varnish counters (that are also used by varnishstat) to get its numbers. In Varnish 4 there is no usage
counter anymore. Your best bet is to do varnishstat -l
and find the counter you would like to monitor.
You might want to monitor the Bytes available
counter, but its name depends on your storage pool name, on my setup this works:
check_varnish -p SMA.s0.g_space
@denisbr thanks for the info. the output of check_varnish -h
should then be updated.
In addition, the following parameters are available:
"In Varnish 4 there is no usage counter anymore."
From what I see, there's no "usage" counter in Varnish 3(.0.2) either? (uptime
works fine though)
./check_varnish -p usage Unknown parameter 'usage'
varnishd -V
varnishd (varnish-3.0.2 revision 55e70a4)
i have sucessfully built the check on ubuntu 14.04 with varnish 4 from their repo.