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 (18)

View Page History
A best practice to monitor Java application is to create a template 'JVM host'.

According to our environment defined our environment defined above, create the file 'jvm-host-nagios2.cfg' in the directory '/etc/nagios3/conf.d' with the following content:

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

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

{code}
h2. Petals ESB host template

{color:#333333}A A best practice to monitor Petals ESB nodes is to create a template 'Petals ESB host' that inherites from the 'JVM host'.{color}

{color:#333333}According to our {color}{color:#333333}environment defined above, create the file 'petals-esb-host-nagios2.cfg' in the directory '/etc/nagios3/conf.d' with the following content:{color}
According to our environment defined above, create the file 'petals-esb-host-nagios2.cfg' in the directory '/etc/nagios3/conf.d' with the following content:

{code}


h2. {color:#492562}{*}Defining your Petals ESB hosts{*}{color}
h2. Defining your Petals ESB hosts

For each Petals ESB node of your Petals ESB topology, create an instance of the template 'petals-esb-host'.

According to our environment defined our environment defined above, create the file 'petals-esb-host-node1.cfg' in the directory '/etc/nagios3/conf.d' with the following content:

{code}
define host{
; agent listener port of your Petals ESB node.
        }
{code}and create the file 'petals-esb-host-node2.cfg' in the directory '/etc/nagios3/conf.d' with the following content:
{code}
and create the file 'petals-esb-host-node2.cfg' in the directory '/etc/nagios3/conf.d' with the following content:
{code}
define host{
        use                     petals-esb-host            ; Name of host template to use
{code}

h2. {color:#492562}{*}Defining your Petals ESB topology as a Petals ESB host group{*}{color}

The Petals ESB topology can be considered as a Nagios host group composed of your Petals ESB nodes.
h2. Petals ESB host services

{color:#333333}A A best practice to monitor Petals ESB nodes is to create a template of services to associate to each Petals ESB nodes.{color}

{color:#333333}According to our environement defined above, create the file 'petals-esb-services.cfg' in the directory '/etc/nagios3/conf.d' with the following content:{color}


{code}
aaaaa# # Define a service to check the disk space of the root partition# Define a service to check the disk space of the root partition
# on the local machine. Warning if < 20% free, critical if
# < 10% free space on partition.
}
{code}

{column}
{column:width=350px}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}HOSTSNMPPORT