Monitoring your Centreon Map installation

Centreon provides a plugin pack and a plugin to monitor your Centreon Map server.

Installing the plugins

Access, through SSH, the poller which will be monitoring your Map 4 server. Install all the required plugins through the following commands :

# yum install centreon-pack-operatingsystems-linux-snmp
# yum install centreon-pack-applications-monitoring-centreon-map4-jmx
# yum install centreon-pack-applications-webservers-tomcat-jmx

# yum install centreon-plugin-Operatingsystems-Linux-Snmp
# yum install centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx
# yum install centreon-plugin-Applications-Webservers-Tomcat-Jmx

## OPTIONAL - Only if you have a local MySQL DB for your Map server

# yum install centreon-pack-applications-databases-mysql
# yum install centreon-plugin-Applications-Databases-Mysql

Configure Jolokia

In order to monitor your tomcat, you need to deploy the jolokia application on it.

Download the jolokia war agent and put it on your Centreon Map server. The agent can be found here

You can do all that with the following command:

# wget -O /var/lib/tomcat/webapps/jolokia.war


Please adapt the download URL depending on the current Jolokia version

Configure your database

Access your MySQL server where the Centreon Map database is stored (the Centreon Map database is called ‘centreon_studio’ by default).

Execute the following commands:

# mysql centreon_studio
# GRANT SELECT ON centreon_studio.* TO 'centreon_map'@'<POLLER_IP>';
  • Replace ‘centreon_studio’ by the DB name of your Centreon Map server
  • Replace <POLLER_IP> by the IP address of the poller which will be monitoring your DB
  • Replace ‘PASSWORD’ by any password you want (obviously...)

Configure your services

Access your Centreon Web interface. Go to Configuration > Host > Add

Fill the basic information about your host and add the following Host Templates:

  • OS-Linux-SNMP-custom
  • App-Monitoring-Centreon-Map4-JMX-custom
  • App-Webserver-Tomcat-JMX-custom

Also add the following only if you have a local MySQL DB on you Map server:

  • App-DB-MySQL-custom
  1. These are the 3 main templates you need to monitor your Centreon Map server

  2. The MySQL template is useful only if you have a MySQL server on your Map 4 server (for Centreon Map database)

  3. Enter the Jolokia URL, which is composed as follow :

    For HTTP configuration


    For HTTPS configuration



    Replace <MAP_IP> by the IP address of your Centreon Map server

  4. If you have a MySQL server on your Centreon Map server, enter the user / password you used in Configure your database.


Don’t forget to check the “« Create Services linked to the Template too » checkbox.

You can now export your configuration and your Centreon Map server will be monitored.