Hi Venu,
My comments inline:
1. When the number of pending messages for any queue is not zero.
How to know that with in a particular time period (for example 60 seconds).
You can use JMX: ActiveMQ provides different MBeans allowing you to
check the pending messages in queues.
You can also use the command line (activemq) which relay to the JMX layer.
2. When the number of consumers for a queue is not what it is supposed to be
(5, or 10, depending on the queue).
How do I configure ActiveMQ to tell me these things?
ActiveMQ itself can't raise an alert. However, again using JMX you can
have the number of consumers on a queue. You can also enable the logging
plugin to get additional messages (when a consumer is slow, etc).
Is this data in a database I can monitor? or is this in a text-based log
file? Or somewhere else?
The data/activemq.log contains a lot of useful information (including
the messages coming from the logging plugin). Different system can poll
JMX and store in a backend.
I blogged about how to use logstash/elasticsearch/kibana with ActiveMQ:
http://blog.nanthrax.net/2014/03/apache-karaf-cellar-camel-activemq-monitoring-with-elk-elasticsearch-logstash-and-kibana/
Regards
JB
Thanks in advance !!!!!
Venu.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Monitoring-alerts-tp4682028.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com