contrib icon indicating copy to clipboard operation
contrib copied to clipboard

varnish5 plugin

Open ivarmedi opened this issue 7 years ago • 3 comments

This is basically the Varnish4 plugin with a line added that strips the namespace that comes before the key being checked (MAIN, VBE, etc.).

I'm not 100% sure this is needed (or the right approach), as Varnish4 seems to have these namespaces as well, but when trying to use the varnish4 plugin with varnish 5, it fails with

Error: <field> not part of varnishstat.

where <field> is whatever key I'm looking for

I currently can't easily test on a Varnish4 install

ivarmedi avatar Mar 13 '18 16:03 ivarmedi

I can confirm that this change works excellent with Varnish 6.0.2 as well.

gnuheidix avatar Jan 04 '19 23:01 gnuheidix

Will this pull request be merged soon ? It seem to be working :-)

codeurimpulsif avatar Apr 24 '20 17:04 codeurimpulsif

Stale pull request message

github-actions[bot] avatar Apr 17 '21 02:04 github-actions[bot]