[asterisk-users] Keeping queue counters after restarting

James FitzGibbon james.fitzgibbon at gmail.com
Fri Aug 24 10:06:47 CDT 2007


On 8/24/07, Marlon Dutra <mfdutra at gmail.com> wrote:

> Every queue has some status counters (completed, abandoned, hold
> time...) that are very useful for statistics. The problem is that those
> counters are reset every time Asterisk restarts.
>
> Is there a way to keep those counters, maybe in astdb? Also, is there a
> way to reset the counters through a cli command?


Not sure about restarts, but trunk keeps them through reloads.  How often
are you restarting?

From
http://svn.digium.com/view/asterisk/trunk/CHANGES?revision=79638&view=markup
:

Queue changes
-------------
* Added keepstats option to queues.conf which will keep queue
  statistics during a reload.

I don't think there's a command to reset the counters - would be a
good (and relatively simple I think) patch to offer up before 1.6 gets
closer to a release.

-- 
j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070824/03a39e41/attachment.htm 


More information about the asterisk-users mailing list