Join GitHub today
GitHub is home to over 28 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.