[asterisk-users] Reload clears queue stats

2006-07-18 Thread Douglas Garstang
Has anyone noticed that doing a 'reload' on the Asterisk console clears all the 
stats shown by the 'show queues' command?
I'd like to report a bug, but would probably get my head chewed off for not 
testing it in the latest SVN code first.

Doug.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Reload clears queue stats

2006-07-18 Thread Steve Totaro

Douglas Garstang wrote:

Has anyone noticed that doing a 'reload' on the Asterisk console clears all the 
stats shown by the 'show queues' command?
I'd like to report a bug, but would probably get my head chewed off for not 
testing it in the latest SVN code first.

Doug.
  


It is not a bug, it is just the way it works.

Just use a database and queuemetrics perl script to import your 
queue_log into the database and query away.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Reload clears queue stats

2006-07-18 Thread Douglas Garstang
 -Original Message-
 From: Steve Totaro [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 18, 2006 4:58 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Reload clears queue stats
 
 
 Douglas Garstang wrote:
  Has anyone noticed that doing a 'reload' on the Asterisk 
 console clears all the stats shown by the 'show queues' command?
  I'd like to report a bug, but would probably get my head 
 chewed off for not testing it in the latest SVN code first.
 
  Doug.

  
 --
 --
 It is not a bug, it is just the way it works.
I find that hard to believe!

 
 Just use a database and queuemetrics perl script to import your 
 queue_log into the database and query away.
Not sure I follow you. queue_log is a file. Doing a 'reload' command does not 
cause the file to go away. It's still there, so why does a 'reload' clear those 
stats? Also, if the data required to rebuild the queue stats is in queue_log, 
then even an asterisk shutdown and restart should read the queue_log and 
re-populate those stats.

Doug.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users