Command 'monitoring'

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

Changes (11)

View Page History
{column}

{warning}In this documentation, the term "Allocated threads" must be understood as "Active threads", see [PETALSDISTRIB-37|https://jira.petalslink.com/browse/PETALSDISTRIB-37]. This naming error will be fixed in the next version.{warning}

h1. Installing the command 'monitoring'

where '{{<component-name>}}' is the unique name of the JBI component with which it was deployed.
Returned metrics are:
* {{AllocatedThreadsMax}}, {{ActiveThreadsMax}}, the maximum number of threads allocatable to the message exchange acceptors,
* {{AllocatedThreadsCurrent}}, {{ActiveThreadsCurrent}}, the current number of threads allocated to the message exchange acceptors.

{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f mex-acceptor-thread-pool -- -n petals-bc-soap
AllocatedThreadsMax:5 AllocatedThreadsCurrent:2
ActiveThreadsMax:5 ActiveThreadsCurrent:2
{code}

where '{{<component-name>}}' is the unique name of the JBI component with which it was deployed.
Returned metrics are:
* {{AllocatedThreadsMax}}, {{ActiveThreadsMax}}, the maximum number of allocated active threads,
* {{AllocatedThreadsCurrent}}, {{ActiveThreadsCurrent}}, the current number of allocated active threads,
* {{IdleThreadsMax}}, the maximum number of idle threads,
* {{IdleThreadsCurrent}}, the current number of idle threads,
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f mex-processor-thread-pool -- -n petals-bc-soap
AllocatedThreadsMax:5 AllocatedThreadsCurrent:5 ActiveThreadsMax:5 ActiveThreadsCurrent:5 IdleThreadsMax:0 IdleThreadsCurrent:1 MaxSize:50 MinSize:2 EnqueuedRequestsMax:0 EnqueuedRequestsCurrent:0
{code}

where '{{<component-name>}}' is the unique name of the Petals BC SOAP with which it was deployed.
Returned metrics are:
* {{AllocatedThreadsMax}}, {{ActiveThreadsMax}}, the maximum number of allocated active threads,
* {{AllocatedThreadsCurrent}}, {{ActiveThreadsCurrent}}, the current number of allocated active threads,
* {{IdleThreadsMax}}, the maximum number of idle threads,
* {{IdleThreadsCurrent}}, the current number of idle threads,
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f http-thread-pool -- -n petals-bc-soap
AllocatedThreadsMax:5 AllocatedThreadsCurrent:5 ActiveThreadsMax:5 ActiveThreadsCurrent:5 IdleThreadsMax:0 IdleThreadsCurrent:1 MaxSize:50 MinSize:2 EnqueuedRequestsMax:0 EnqueuedRequestsCurrent:0
{code}