h1. Introduction
The Petals BC Soap is composed of several internal components. Each one can be monitored and provides several metrics:
* consumer side:
** incoming requests
*** incoming information request counter,
*** incoming web-service request counter,
*** incoming web-service request response times,
*** incoming unknown request counter,
** thread pool processing web-service requests,
* provider side:
** outgoing web-service request counter,
** outgoing web-service request response times,
** web-service client pool.
h1. Monitoring the consumer side
h2. Monitoring the incoming requests
!petals-local-transporter-delivered-messages.png|align=center!
See [Creating a graph using a simple data|How to create a graph with Cacti#Creating a graph using a simple data] to graph the incoming requests:
* Script/Command of the data input method: {{petals_cli -h <petals_host> -n <petals_jmx_port> -u <petals_jmx_user> -p <petals_jmx_password> -c \-- monitoring -o petals-bc-soap -f incoming-http-requests-count \-- -n <petals-bc-soap-id> -r}}
* Output fields of the script/command:
|| Name || Description || Type ||
| Information | Number of information request received | COUNTER |
| Unknown | Number of unknown request received | COUNTER |
| WS | Number of web-service request received | COUNTER |
h1. Monitoring the provider side
The Petals BC Soap is composed of several internal components. Each one can be monitored and provides several metrics:
* consumer side:
** incoming requests
*** incoming information request counter,
*** incoming web-service request counter,
*** incoming web-service request response times,
*** incoming unknown request counter,
** thread pool processing web-service requests,
* provider side:
** outgoing web-service request counter,
** outgoing web-service request response times,
** web-service client pool.
h1. Monitoring the consumer side
h2. Monitoring the incoming requests
!petals-local-transporter-delivered-messages.png|align=center!
See [Creating a graph using a simple data|How to create a graph with Cacti#Creating a graph using a simple data] to graph the incoming requests:
* Script/Command of the data input method: {{petals_cli -h <petals_host> -n <petals_jmx_port> -u <petals_jmx_user> -p <petals_jmx_password> -c \-- monitoring -o petals-bc-soap -f incoming-http-requests-count \-- -n <petals-bc-soap-id> -r}}
* Output fields of the script/command:
|| Name || Description || Type ||
| Information | Number of information request received | COUNTER |
| Unknown | Number of unknown request received | COUNTER |
| WS | Number of web-service request received | COUNTER |
h1. Monitoring the provider side