Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

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

Closed

Description

@gquintard

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.

Activity

  1. hermunn commented on Nov 18, 2016

    @hermunn
    Member

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

  2. zstyblik commented on Jan 16, 2017

    @zstyblik

    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.

  3. fgsch commented on Jan 16, 2017

    @fgsch
    Member

    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.

  4. zstyblik commented on Jan 16, 2017

    @zstyblik

    @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.

  5. added a commit that references this issue on Jun 15, 2017
    c8db16f
  6. added a commit that references this issue on Jun 27, 2017
    088378e
  7. venkat-rafay commented on Aug 14, 2018

    @venkat-rafay

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

  8. dridi commented on Aug 14, 2018

    @dridi
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions