[asterisk-users] Keeping queue counters after restarting

Julian Lyndon-Smith asterisk at dotr.com
Fri Aug 24 15:36:31 CDT 2007


I'm pretty sure that a command to reset the counters was added soon 
after this patch.

Julian.

James FitzGibbon wrote:
> 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.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list