Monitoring Petals BC Soap

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

Changes (1)

View Page History
h1. Monitoring the provider side

h2. Monitoring the web-service client pools per operation of external web-service

!ws-clients-pools.png|align=center!

See [Creating a graph using a data query|How to create a graph with Cacti#Creating a graph using a data query] to graph the stats about the web-service client pools per operation of external web-service:
* the data query definition to put in a file:
{code}
<interface>
<name>Get web-service client pools of the BC Soap per operation</name>
<script_path>/home/cdeneux/petals-cli-2.1.1-SNAPSHOT/bin/petals-cli.sh</script_path>
<arg_prepend>-h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f ws-clients-pools</arg_prepend>
<arg_index>-- -n petals-bc-soap --list-operations</arg_index>
<arg_query>-- -n petals-bc-soap --query-operations</arg_query>
<arg_get>-- -n petals-bc-soap --query-operations</arg_get>
<output_delimeter>!</output_delimeter>
<index_order>filterName</index_order>
<index_order_type>alphanumeric</index_order_type>
<!--index_title_format>|chosen_order_field|</index_title_format-->

<fields>
<filterName>
<name>Operation name</name>
<direction>input</direction>
<query_name>URL</query_name>
</filterName>
<inUseCur>
<name>Web-service clients currently in use</name>
<direction>output</direction>
<query_name>INUSE_CUR</query_name>
</inUseCur>
<inUseMax>
<name>Max number of web-service clients in use concurrently</name>
<direction>output</direction>
<query_name>INUSE_MAX</query_name>
</inUseMax>
<exhaustions>
<name>Exhaustions</name>
<direction>output</direction>
<query_name>EXHAUSTIONS</query_name>
</exhaustions>
</fields>
</interface>
{code}
* Output fields of the script/command:
|| Name || Description || Type ||
| {{inUseMin}} | Current number of web-service clients in use | GAUGE |
| {{inUsemax}} | Max number of web-service clients in use concurrently | GAUGE |
| {{exhaustions}} | Number of exhaustions | COUNTER |

h2. Monitoring the outgoing web-service requests per operation and execution status