Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
varnishstat -1 -f field inclusion glob doesn't allow VBE backend fields #2022
When trying to view individual statistics about a backend I would expect to be able to run
This works with similar commands:
When running these commands now I get the error
Steps to Reproduce (for bugs)
Run varnish with multiple backends, attempt to query individual backend fields with varnishstat -f command.
I am trying to configure zabbix autodiscovery and monitoring of individual backends. The ability to run this for each backend would make it easier.
Confirmed for master.
field assumes type.name or type.ident.name.
@r0b0ticus also reported this problem for 4.0.3 (haven't checked yet) where backends can also contain an IPv4 address. Does it mean that we can't filter backends based on an IP address with
I haven't looked at the details in vsc.c yet, but it sounds like an assumption that shouldn't be made.
Package varnish 4.1.7, add counters for transient storage. Introduce a new counter for shortlived objects creation, cache_shortlived, and another one for uncacheable responses, cache_uncacheable. They should provide insights when it comes to monitoring transient storage usage. Changes in 4.1.7: - Correctly honor nuke_limit parameter varnishcache/varnish-cache#1764 - Prevent storage backends name collisions varnishcache/varnish-cache#2321 - varnishstat -1 -f field inclusion glob doesn't allow VBE backend fields varnishcache/varnish-cache#2022 - Health probes fail when HTTP response does not contain reason phrase varnishcache/varnish-cache#2069 - "varnishstat -f MAIN.sess_conn -1" produces empty output varnishcache/varnish-cache#2118 - Remember to reset workspace varnishcache/varnish-cache#2219 - Rework and fix varnishstat counter filtering varnishcache/varnish-cache#2320 - Docfix: Only root can jail varnishcache/varnish-cache#2329 - Don't panic on a null ban - Add extra locking to protect the pools list and refcounts - Add -vsl_catchup to varnishtest - Add record-prefix support to varnishncsa Bug: T164768 Ref: https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst#varnish-cache-417-2017-06-28 Change-Id: I8a8f3a8103feb83b1a55a6788ea6c5d12963b4f5