Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"varnishstat -f MAIN.sess_conn -1" produces empty output #2118

Closed
gquintard opened this issue Oct 26, 2016 · 6 comments
Closed

"varnishstat -f MAIN.sess_conn -1" produces empty output #2118

gquintard opened this issue Oct 26, 2016 · 6 comments

Comments

@gquintard
Copy link
Member

varnishstat -f PATTERN -1 produces empty output if PATTERN is a full counter name (such as "MAIN.sess_conn")

Expected Behavior

varnishstat should return the information about the counter named PATTERN

Your Environment

Happens on 5.0.

@hermunn
Copy link
Member

hermunn commented Nov 18, 2016

Backport review: @gquintard's comment indicates that this is 5.0 only, so there is nothing to backport.

@zstyblik
Copy link

Hello,

I've applied patch from the commit, but situation hasn't changed. varnishstat still cannot reference eg. MAIN.cache_hit. :\

Thank you for any help.

@fgsch
Copy link
Member

fgsch commented Jan 16, 2017

You are doing something wrong if it's not working but I'm afraid this is not the right place for support.
Check https://varnish-cache.org/support/ for the correct channels.

@zstyblik
Copy link

@fgsch, it was my bad indeed. patch is in libvarnishapi, therefore deploying varnish debpkg alone doesn't make sense. Thank you for the kick and sorry for the noise. Patch works.

mbgrydeland pushed a commit that referenced this issue Jun 15, 2017
Update the code to accommodate this.  Originally reported by Reinis
Rozitis (r at roze.lv) on varnish-misc.

Fixes #2118.

Backport to 4.1
ibreger pushed a commit to Refinitiv/varnish-cache that referenced this issue Jun 27, 2017
Update the code to accommodate this.  Originally reported by Reinis
Rozitis (r at roze.lv) on varnish-misc.

Fixes varnishcache#2118.

Backport to 4.1
@venkat-rafay
Copy link

This issue still persists with varnish-5.0.0 revision 99d036f. Could someone clarify whether this patch has been published in a later revision?

@Dridi
Copy link
Member

Dridi commented Aug 14, 2018

If you look at the patch b21b0d7 with a git client or directly on github you can see that this patch was first released with Varnish 5.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants