Monitoring Petals ESB with Nagios

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

Changes (5)

View Page History
The integration of Petals ESB and Nagios is based on getting information about the JVM. This is done using SNMP probes.
{info}Following examples are based on a Petals ESB topology composed of two nodes on the same host.{info}
!petals-nagios.jpg|align=center!
 
h1. Installation

We recommand to define specific Nagios command to interact with the Java virtual machine MIB.

Interresting commands will be:

* jvm_heapused: to get the real heap memory used by the Petals ESB node,
* jvm_heapmaxused: to get the current allocated (commited) heap size. This value should be check against the heap max size at the JVM level to generate alarms.

According to our environment defined above, create the file 'jvm.cfg' in the directory '/etc/nagios-plugins/config' with the following content:

    }

# 'jvm_heapmaxused' command definition
define command{
    command_name    jvm_heapmaxused
}
{code}

h2. Restart Nagios