The integration of Petals ESB and Cacti is to get information about the JVM. This is done using SNMP probes.
Installation
Cacti installation
The Cacti integration was experienced on a Linux distribution "Ubuntu Maverick Meerkat (10.10)".
Cacti is available 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 Cacti integration will 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.
Waiting a better manner to enable the SNMP agent, on each Petals node, add the following system properties on the java command line of the script starting Petals ESB:
where:* com.sun.management.snmp.port defines the listen port of the SNMP agent.
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.
com.sun.management.snmp.acl defines the path file defining ACL of the SNMP agent. It is recommended to create a specific file from $JAVA_HOME/jre/lib/management/snmp.acl where you can configure for example the following ACL entry: