Command 'monitoring'

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
| Petals BC SOAP | [Outgoing WS request response times|#petals-bc-soap-outgoing-ws-requests-response-times] | {{-o petals-bc-soap -f outgoing-ws-requests-response-times}} |
| Petals SE Activiti | [Asynchronous job executor thread pool|#petals-se-activiti-async-executor-thread-pool] | {{-o petals-se-activiti -f async-job-executor-thread-pool}} |
| Petals SE Activiti | [Database connection pool|#petals-se-activiti-database-connection-pool] | {{-o petals-se-activiti -f database-connection-pool}} |
| Petals SE Activiti | [Process definition counters|#petals-se-activiti-process-definition-counters] | {{-o petals-se-activiti -f process-definitions-count}} |
| Local transporter | [Delivered messages|#local-transporter-delivered-messages] | {{-o local-transporter -f delivered-messages}} |
{code}

h4. {anchor:petals-se-activiti-database-connection-pool}Database connection pool

Several metrics about the database connection pool of the Activiti engine are available through the sub function '{{database-connection-pool}}' of the monitored object '{{petals-se-activiti}}'. It's usage is:
{code}
-n <component-name>
{code}
where '{{<component-name>}}' is the unique name of the Petals SE Activiti with which it was deployed.
Returned metrics are:
* {{MaxActiveSize}}, the maximum number of active connections that the pool can accept currently,
* {{MaxIdleSize}}, the maximum number of idle connections that the pool can accept currently,
* {{ActiveConnectionsMax}}, the maximum number of active connections,
* {{ActiveConnectionsCurrent}}, the current number of active connections,
* {{IdleConnectionsMax}}, the maximum number of idle connections,
* {{IdleConnectionsCurrent}}, the current number of idle connections.

{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-se-activiti -f database-connection-pool -- -n petals-se-activiti
MaxActiveSize:10 MaxIdleSize:1 ActiveConnectionsMax:1 ActiveConnectionsCurrent:0 IdleConnectionsMax:1 IdleConnectionsCurrent:1
{code}

h4. {anchor:petals-se-activiti-process-definition-counters}Process definition counters