View Source

{section}
{column}

h1. Introduction

Cacti is a complete monitoring and graphing tool to present historical data coming from monitoring probes.


[Get more details about Cacti.|http://www.cacti.net/]

The integration of Petals ESB and Cacti is to get information about the JVM. This is done using SNMP probes.

{column}
{column:width=350px}

{panel:title=Monitoring Petals ESB with Cacti}{toc}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}

h1. Installation


h2. Cacti installation

The Cacti integration was experienced on a Linux distribution "Ubuntu Precise Pangolin (12.04)".

Cacti is available in version 0.8.7i through the default Ubuntu repository. So, just install the package "cacti" using the standard way.

h2. Enabling the SNMP agents of the Petals ESB JVMs
{include:Enabling the SNMP agent of a Petals ESB JVM}

h2. Cacti configuration

Import in your Cacti configuration the content of the attachment [^cacti_host_template_jvm_host.xml]
Next, create the following datasource from templates:
!ds.jpg|align=center!



Next, create your graphs from templates:
!graph.jpg|align=center!

h1. Monitoring

h2. Monitoring the container

h3. Monitoring the local transporter

Metrics about delivered messages by the local transporter are available into the Petals container. A usage of these metrics can be:

{capture à ajouter}

To create this graph, please follow the following steps or import {TODO}.

# First, create a new *Data Input Method*:
!petals-container-localtransporter-dim.jpg|align=center!
In the *Input String*, you will put the command line needed to get the number of delivered messages for a given message exchange status. That's why the command line ends with *<status>*.
# Add an input field to your data input method
!petals-container-localtransporter-dim-status.jpg|align=center!
# Add the output field to your data input method
!petals-container-localtransporter-dim-output.jpg|align=center!
# Create a new *Data Template*:
!petals-container-localtransporter-dt.jpg|align=center!
Select your data input method previously created as *Data Input Method*.
# A new block *Custom data* appears, check *Use Per-Data Source Value*
!petals-container-localtransporter-dt-custom.jpg|align=center!