Mailing List Archive

#1609: Reset MGT.child_panic after a panic.clear
#1609: Reset MGT.child_panic after a panic.clear
----------------------+-------------------------
Reporter: coredump | Type: enhancement
Status: new | Priority: normal
Milestone: | Component: build
Version: 4.0.2 | Severity: normal
Keywords: |
----------------------+-------------------------
When you use `panic.clear` on `varnishadmin` the MGT counter on
`varnishstats` doesn't reset back to zero. If you are doing a test with a
tool like the nagios scripts that check that value for critical and
warning values you will end on that status forever after a panic.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1609: Reset MGT.child_panic after a panic.clear [ In reply to ]
#1609: Reset MGT.child_panic after a panic.clear
-------------------------+--------------------
Reporter: coredump | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------

Comment (by lkarsten):

Discussed during bugwash today. We'll add a -z (or similar) option to
panic.clear that will clear this counter.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1609: Reset MGT.child_panic after a panic.clear [ In reply to ]
#1609: Reset MGT.child_panic after a panic.clear
-------------------------+--------------------
Reporter: coredump | Owner: fgsch
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------
Changes (by fgsch):

* owner: => fgsch


--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1609: Reset MGT.child_panic after a panic.clear [ In reply to ]
#1609: Reset MGT.child_panic after a panic.clear
-------------------------+--------------------
Reporter: coredump | Owner: fgsch
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------

Comment (by razvanphp):

I have a similar feature request, as we also monitor some values of
varnishstat:
- MAIN.backend_fail
- MAIN.sess_drop
- MAIN.sess_fail

Currently the only way to clear the counters is restarting varnish, which
is not so nice because requests are going to fail. So maybe the
possibility to clear all stats is also useful.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1609: Reset MGT.child_panic after a panic.clear [ In reply to ]
#1609: Reset MGT.child_panic after a panic.clear
-------------------------+---------------------
Reporter: coredump | Owner: fgsch
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution: fixed
Keywords: |
-------------------------+---------------------
Changes (by Federico G. Schwindt <fgsch@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [b3a74ff9a50a7a658edbfce2860a598faa286ae4]:
{{{
#!CommitTicketReference repository=""
revision="b3a74ff9a50a7a658edbfce2860a598faa286ae4"
Allow to reset the child_panic counter

panic.clear gains a -z optional parameter.

Fixes #1609.
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1609: Reset MGT.child_panic after a panic.clear [ In reply to ]
#1609: Reset MGT.child_panic after a panic.clear
-------------------------+---------------------
Reporter: coredump | Owner: fgsch
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution: fixed
Keywords: |
-------------------------+---------------------

Comment (by razvanphp):

Should I create a new ticket for my request in the comment below?

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1609#comment:5>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs