Petals CLI SNAPSHOT

Version 1 by Christophe DENEUX
on Oct 25, 2012 17:21.

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

Changes (1)

View Page History
To install your command just put all needed JAR files in the directory {{$PETALS_CLI_HOME/extensions}}.

h2. Monitoring Petals with Petals CLI

An extension of Petals CLI was created to monitor Petals ESB.

This extension has several implementations. Each implementation is adapted to a monitoring tool, but can be used as a normal command. Now, only one implementation exist, the Cacti's implementation.

h3. Installing the monitoring command

To install the monitoring command, just put the JAR artifact '{{org.ow2.petals:petals-cli-cmd-monitoring}}' in the directory {{$PETALS_CLI_HOME/extensions}}. To check that the installation is correction, just get the list of available commands of your Petals CLI, you should see the command '{{monitoring}}' in the list:
{code}
> ./petals-cli.sh -c -- help
...
logger-set
Set the specified level to the specified logger.
loggers Return all the loggers.
monitoring
Get monitoring information.
print Print a message.
...
{code}

Next you must install the Cacti's implementation of monitored objects. Put the JAR artifact '{{org.ow2.petals:petals-cli-cmd-monitoring-mo-cacti}}' in the directory {{$PETALS_CLI_HOME/extensions}}. To check that the installation is correction, just get the list of monitored objects:
{code}
> ./petals-cli.sh -c -- help
...
MONITORING OBJECT & SUB-FUNCTIONS
- local-transporter: Message exchange local transporter
- delivered-messages: Delivered messages
- ...
- ...
...
{code}



h1. Known Problems