|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (5)
View Page Historyh2. Monitoring with basic tools
{tip}The command-lines and configuration files mentionned in following sub-chapters are available on Ubuntu 11.10{tip}
h3. JVisualVM
{tip}
h2. Monitoring with Munin
A plugin ActiveMQ for Munin exists: [http://munin-activemq.sourceforge.net]. It is very easy to install it on a Debian-based system using the Debian package. Don't forget to install Munin previously.
h3. Pre-requisites
...
</beans>{code}
</beans>{code}
h3. Configuration
Edit the file {{/etc/munin/plugin-conf.d/activemq_}} to add the queues to monitor in parameter {{env.DESTINATIONS}} of the section ?{{activemq*}}. :
{code}
\[activemq_*\]
\## The hostname to connect to.
\## Default: localhost
\#env.JMX_HOST localhost
\## The port where the JMX server is listening
\## Default: 1099
\#env.JMX_PORT 1099
\## The username required to authenticate to the JMX server.
\## When enabling JMX for a plain ActiveMQ install, no authentication is needed.
\## The default username for JMX run by ServiceMix is 'smx'
\## Default:
\#env.JMX_USER smx
\## The password required to authenticate to the JMX server.
\## The default password for JMX run by ServiceMix is 'smx'
\## Default:
\#env.JMX_PASS smx
\## Space separated list of destinations to create graphs for.
\## Default:
env.DESTINATIONS Queue:foo Queue:bar
\## You can override certain configuration variables for specific plugins
\#\[activemq_traffic\]
\#env.DESTINATIONS Topic:MyTopic Queue:foo
{code}
Edit the file {{/etc/munin/plugin-conf.d/activemq_}} to add the queues to monitor in parameter {{env.DESTINATIONS}} of the section ?{{activemq*}}. :
{code}
\[activemq_*\]
\## The hostname to connect to.
\## Default: localhost
\#env.JMX_HOST localhost
\## The port where the JMX server is listening
\## Default: 1099
\#env.JMX_PORT 1099
\## The username required to authenticate to the JMX server.
\## When enabling JMX for a plain ActiveMQ install, no authentication is needed.
\## The default username for JMX run by ServiceMix is 'smx'
\## Default:
\#env.JMX_USER smx
\## The password required to authenticate to the JMX server.
\## The default password for JMX run by ServiceMix is 'smx'
\## Default:
\#env.JMX_PASS smx
\## Space separated list of destinations to create graphs for.
\## Default:
env.DESTINATIONS Queue:foo Queue:bar
\## You can override certain configuration variables for specific plugins
\#\[activemq_traffic\]
\#env.DESTINATIONS Topic:MyTopic Queue:foo
{code}