{section}
{column}
h1. Introduction
Nagios is a complete infrastructure monitoring solution.
[Get more details about Nagios.|http://www.nagios.org/]
The integration of Petals ESB and Nagios is based on getting information about the JVM. This is done using SNMP probes.
h1. Installation
h2. Nagios installation
The Nagios integration was experienced on a Linux distribution "Ubuntu Maverick Meerkat (10.10)".
Nagios 3 is available through the default Ubuntu repository. So, just install the package "nagios3" using the standard way.
h2. Enabling the SNMP agents of the Petals ESB JVMs
{include:Enabling the SNMP agents of the Petals ESB JVMs}
h2. Nagios commands definition to interact with a SNMP agent
We recommand to define specific Nagios command to interact with the Java virtual machine MIB.
According to our environement defined above, create the file 'jvm.cfg' in the directory '/etc/nagios-plugins/config' with the following content:
{code}
# 'jvm_heapused' command definition
define command{
command_name jvm_heapused
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -p '$ARG1$' -C '$ARG2$' -P '$ARG3$' -o 1.3.6.1.4.1.42.2.145.3.163.1.1.2.11.0 -w :'$ARG4$' -c :'$ARG5$' -l load
}
# 'jvm_heapmax' command definition
define command{
command_name jvm_heapmax
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -p '$ARG1$' -C '$ARG2$' -P '$ARG3$' -o 1.3.6.1.4.1.42.2.145.3.163.1.1.2.13.0 -w :'$ARG4$' -c :'$ARG5$' -l load
}
{code}
Next coming soon
{column}
{column:width=350px}
{panel:title=Table of contents}{toc}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}
{column}
h1. Introduction
Nagios is a complete infrastructure monitoring solution.
[Get more details about Nagios.|http://www.nagios.org/]
The integration of Petals ESB and Nagios is based on getting information about the JVM. This is done using SNMP probes.
h1. Installation
h2. Nagios installation
The Nagios integration was experienced on a Linux distribution "Ubuntu Maverick Meerkat (10.10)".
Nagios 3 is available through the default Ubuntu repository. So, just install the package "nagios3" using the standard way.
h2. Enabling the SNMP agents of the Petals ESB JVMs
{include:Enabling the SNMP agents of the Petals ESB JVMs}
h2. Nagios commands definition to interact with a SNMP agent
We recommand to define specific Nagios command to interact with the Java virtual machine MIB.
According to our environement defined above, create the file 'jvm.cfg' in the directory '/etc/nagios-plugins/config' with the following content:
{code}
# 'jvm_heapused' command definition
define command{
command_name jvm_heapused
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -p '$ARG1$' -C '$ARG2$' -P '$ARG3$' -o 1.3.6.1.4.1.42.2.145.3.163.1.1.2.11.0 -w :'$ARG4$' -c :'$ARG5$' -l load
}
# 'jvm_heapmax' command definition
define command{
command_name jvm_heapmax
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -p '$ARG1$' -C '$ARG2$' -P '$ARG3$' -o 1.3.6.1.4.1.42.2.145.3.163.1.1.2.13.0 -w :'$ARG4$' -c :'$ARG5$' -l load
}
{code}
Next coming soon
{column}
{column:width=350px}
{panel:title=Table of contents}{toc}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}