Monitoring Petals ESB with Cacti


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

Get more details about Cacti.

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

No contributors found for: authors on selected page(s)


Cacti installation

The Cacti integration was experienced on a Linux distribution "Ubuntu Raring Ringtail (13.04)".

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

Enabling the SNMP agents of the Petals ESB JVMs

As the monitoring tools can use SNMP probes to get information from the JVM running Petals ESB, we need to enable the SNMP agent of the JVM of each Petals ESB node. On each Petals node, in the environment configuration file, uncomment the system properties relative to the SNMP agent:

# Uncomment following lines to enable SNMP agent of the JVM

Adjust your SNMP port, interface and ACL.

Caution, if Petals ESB runs with a user different from root, you need to use a port upper than 1024. To use a port lower than 1024 with a Petals ESB launches with a standard user, refers to the utility privbind (available in standard Ubuntu repository).
To use the same port on the same machine for several java processes, refers to snmpd used as proxy.
Caution, the ACL file should be accessible (read and write: 'chmod 600 xxx') only by the user running the JVM process.
If you use OpenJDK as Java virtual machine, you can't enable the SNMP agent. It is missing because of a non-free implementation. Move to the JVM provided by Oracle.

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:

Next, create your graphs from templates:


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.