Command 'monitoring'

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

Changes (3)

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}} |
| Local transporter | Delivered messages | {{-o local-transporter -f delivered-messages}} |
| Remote transporter | [Outgoing connection pools|#remote-transporter-outgoing-connection-pool] | {{-o tcp-transporter -f outgoing-connections}} |

h2. Petals Components
{code}

h34. {anchor:petals-bc-soap-outgoing-ws-requests-response-times}Outgoing WS request response times

Outgoing WS request response times are available through the sub function '{{outgoing-ws-requests-response-times}}' of the monitored object '{{petals-bc-soap}}'. It's usage is:
{code}

h2. Petals Container

h3. Remote transporter

h4. {anchor:remote-transporter-outgoing-connection-pool}Outgoing connection pools

Several metrics about the outgoing connection pools of the remoter transporter are available through the sub function '{{outgoing-connections}}' of the monitored object '{{tcp-transporter}}'. It's usage is:
{code}
-c <remote-container-name>
{code}
where '{{<remote-container-name>}}' is the unique name as defined in the topology of the remote container to which outgoing connections are established.
Returned metrics are:
* {{ActiveConnectionsMax}}, the maximum number of active connections (established and used),
* {{ActiveConnectionsCurrent}}, the current number of active connections (established and used),
* {{IdleConnectionsMax}}, the maximum number of idle connections (established but not used),
* {{IdleConnectionsCurrent}}, the current number of idle connections (established but not used),
* {{MaxSize}}, the maximum number of active connections that can be used simultaneously,
* {{MinSize}}, the minimum number of connection established that can be not used,
* {{EstablishedConnections}}, the number of connections established since the last start of the transporter.

{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o tcp-transporter -f outgoing-connections -- -c sample-1
ActiveConnectionsMax:5 ActiveConnectionsCurrent:2 IdleConnectionsMax:2 IdleConnectionsCurrent:0 MaxSize:10 MinSize:0 EstablishedConnections:13
{code}

If no remote container is given on the command line, a human readable table is returned displaying values for all remote containers knwon:
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o tcp-transporter -f outgoing-connections
| RemoteContainer || ActiveConnectionsMax | ActiveConnectionsCurrent | IdleConnectionsMax | IdleConnectionsCurrent | MaxSize | MinSize | EstablishedConnections |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
| sample-0 || 5 | 2 | 2 | 0 | 10 | 0 | 13 |
| sample-1 || 6 | 1 | 1 | 0 | 10 | 0 | 23 |
| sample-2 || 4 | 3 | 4 | 0 | 10 | 0 | 53 |
{code}

{anchor:subscription-objects}
h1. Subscription objects for Nagios