h1. Monitoring the Petals SE ASE
{tip}In this version of the Petals ASE, the monitoring is based mainly on the ActiveMQ monitoring.{tip}
The following indicators are interesting:
* number of requests processed with fault in the persistence area: a fast increase of this value should show:
** the target service provider or its backend are overloaded or down,
** a DoD of the ASE service provider client
* number of retried requests: an increase of this value should show:
** the target service provider or its backend are overloaded or down,
** the ASE service provider client doesn't respect the SLA
h2. Monitoring with basic tools
h3. JVisualVM
As ActiveMQ is provided with a JMX API, it is very easy to connect the JVisualVM to the ActiveMQ's JVM. See [http://activemq.apache.org/jmx.html].
{info}Don't forget to install into JVisualVM its plugin *VisualVM-MBeans* previously.{info}
h3. Command line tools of ActiveMQ
ActiveMQ is provided with a command-line tools to get statistics: {{activemq-admin}}
For example, use the following command to get the number of the requests waiting to be sent to the target service provider:
{code}activemq-admin query --objname Type=Queue,Destination=testQueue --view QueueSize | grep QueueSize{code}
h2. Monitoring with Nagios
h2. Monitoring with Cacti
{tip}In this version of the Petals ASE, the monitoring is based mainly on the ActiveMQ monitoring.{tip}
The following indicators are interesting:
* number of requests processed with fault in the persistence area: a fast increase of this value should show:
** the target service provider or its backend are overloaded or down,
** a DoD of the ASE service provider client
* number of retried requests: an increase of this value should show:
** the target service provider or its backend are overloaded or down,
** the ASE service provider client doesn't respect the SLA
h2. Monitoring with basic tools
h3. JVisualVM
As ActiveMQ is provided with a JMX API, it is very easy to connect the JVisualVM to the ActiveMQ's JVM. See [http://activemq.apache.org/jmx.html].
{info}Don't forget to install into JVisualVM its plugin *VisualVM-MBeans* previously.{info}
h3. Command line tools of ActiveMQ
ActiveMQ is provided with a command-line tools to get statistics: {{activemq-admin}}
For example, use the following command to get the number of the requests waiting to be sent to the target service provider:
{code}activemq-admin query --objname Type=Queue,Destination=testQueue --view QueueSize | grep QueueSize{code}
h2. Monitoring with Nagios
h2. Monitoring with Cacti