You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by NabiL <el...@gmail.com> on 2009/10/15 16:48:07 UTC

How to preserve statisitcs after restart server

Hi all,

I tested ActiveMQ 5.3  and it works fine !! 

Questions: 

1- I want to preserve statistics after restart server. I have entered these
broker parameters 
 enableStatistics="true" and deleteAllMessagesOnStartup="false". When i
restart AMQ server, as a result the statistics are not preserved (Messages
Enqueued, Messages Dequeued ...)

Any help will be appreciated.

Thanks in advance.
NabiLo


-- 
View this message in context: http://www.nabble.com/How-to-preserve-statisitcs-after-restart-server-tp25909976p25909976.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to preserve statisitcs after restart server

Posted by NabiL <el...@gmail.com>.
Thanks for your response.


Joe Fernandez wrote:
> 
> AFAIK, AMQ does not persist statistics out to secondary storage. 
> 
> You could write your own plugin that taps the MBeans for the info and
> writes it out to a db. Or write a Monlet using this 
> http://www.ttmsolutions.com/Transactional_Software_Solutions/Active_Monitor_AMon.php
> monitoring tool . 
> 
> The default values for enableStatistics and deleteAllMessagesOnStartup are
> true and false, respectively. 
> 
> Joe
> http://www.ttmsolutions.com
> 
> 
> NabiL wrote:
>> 
>> Hi all,
>> 
>> I tested ActiveMQ 5.3  and it works fine !! 
>> 
>> Questions: 
>> 
>> 1- I want to preserve statistics after restart server. I have entered
>> these broker parameters 
>>  enableStatistics="true" and deleteAllMessagesOnStartup="false". When i
>> restart AMQ server, as a result the statistics are not preserved
>> (Messages Enqueued, Messages Dequeued ...)
>> 
>> Any help will be appreciated.
>> 
>> Thanks in advance.
>> NabiLo
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-preserve-statisitcs-after-restart-server-tp25909976p25917281.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to preserve statisitcs after restart server

Posted by Joe Fernandez <jo...@ttmsolutions.com>.
AFAIK, AMQ does not persist statistics out to secondary storage. 

You could write your own plugin that taps the MBeans for the info and writes
it out to a db. Or write a Monlet using this 
http://www.ttmsolutions.com/Transactional_Software_Solutions/Active_Monitor_AMon.php
monitoring tool . 

The default values for enableStatistics and deleteAllMessagesOnStartup are
true and false, respectively. 

Joe
http://www.ttmsolutions.com


NabiL wrote:
> 
> Hi all,
> 
> I tested ActiveMQ 5.3  and it works fine !! 
> 
> Questions: 
> 
> 1- I want to preserve statistics after restart server. I have entered
> these broker parameters 
>  enableStatistics="true" and deleteAllMessagesOnStartup="false". When i
> restart AMQ server, as a result the statistics are not preserved (Messages
> Enqueued, Messages Dequeued ...)
> 
> Any help will be appreciated.
> 
> Thanks in advance.
> NabiLo
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-preserve-statisitcs-after-restart-server-tp25909976p25911014.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.