Table Of Contents
Getting Started¶
This section will show you the basic steps to start your monitoring system.
Installation¶
Todo
Blabla presentation
Monitoring Engine¶
You need to have a Nagios compliant monitoring engine installed on your system.
For more information regarding the installation of Centreon Engine, refer to this documentation.
Broker module¶
The broker modules that are supported by Centreon are NDOUtils and Centreon Broker.
For more information regarding the installation of Centreon Broker, refer to this documentation.
Starting to monitor¶
This is the most exciting part where you will start monitoring your very first hosts and services! You will need to export your configuration files and restart the scheduler:
Login to Centreon¶
Export and Restart¶
This is what you should get in your Centreon Engine log file:
$ tailf /var/log/centreon-engine/centengine.log
[1355929880] Centreon Engine 1.3.0 starting ... (PID=17466)
[1355929880] Local time is Wed Dec 19 16:11:20 CET 2012
[1355929880] LOG VERSION: 2.0
[1355929880] Event broker module '/usr/lib64/centreon-engine/externalcmd.so' initialized successfully.
[1355929880] Centreon Broker: log applier: applying 1 logging objects
[1355929880] Event broker module '/usr/lib/nagios/cbmod.so' initialized successfully.
[1355929880] INITIAL HOST STATE: Centreon-Server;UP;HARD;1;
[1355929880] INITIAL SERVICE STATE: Centreon-Server;Disk-/;OK;HARD;1;
[1355929880] INITIAL SERVICE STATE: Centreon-Server;Load;OK;HARD;1;
[1355929880] INITIAL SERVICE STATE: Centreon-Server;Memory;OK;HARD;1;
[1355929880] INITIAL SERVICE STATE: Centreon-Server;Ping;OK;HARD;1;
Warning
The external command module must be initialized successfully, otherwise Centreon will not be able to execute external commands.
The broker module must be initialized successfully, otherwise data will not be inserted into database.
Or this is what you should get in your nagios log file:
$ tailf /var/log/nagios/nagios.log
[1322143480] Nagios 3.3.1 starting... (PID=18772)
[1322143480] Local time is Thu Nov 24 15:04:40 CET 2011
[1322143480] LOG VERSION: 2.0
[1322143480] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1322143480] ndomod: Successfully connected to data sink. 0 queued items to flush.
[1322143480] Event broker module '/usr/lib/nagios/brokers/ndomod.o' initialized successfully.
[1322143480] Finished daemonizing... (New PID=18776)
[1322143481] INITIAL HOST STATE: Centreon-Server;UP;HARD;1;
[1322143481] INITIAL SERVICE STATE: Centreon-Server;Disk-/;OK;HARD;1;(null)
[1322143481] INITIAL SERVICE STATE: Centreon-Server;Load;OK;HARD;1;(null)
[1322143481] INITIAL SERVICE STATE: Centreon-Server;Memory;OK;HARD;1;(null)
[1322143481] INITIAL SERVICE STATE: Centreon-Server;Ping;OK;HARD;1;(null)
Warning
The broker module must be initialized successfully, else there are not data send to database.
Also, at the top of your web page, you should see the following display:
If the top of your web page does not display this information, read the next section.
Quick check up¶
Running services¶
Make sure that all of the following services are running:
Checking CentCore:
$ /etc/init.d/centcore status
centcore (pid 18113) is running...
For Centreon Engine / Centreon Broker¶
Checking Centreon Engine:
$ /etc/init.d/centengine status
centengine status: running [ OK ]
Checking Centreon Broker:
$ /etc/init.d/cbd status
cbd (pid 17963) is running...
cbd (pid 18013) is running...
For Nagios / NDOUtils¶
Checking Nagios:
$ /etc/init.d/nagios status
nagios (pid 2896) is running...
Checking ndo2db:
$ /etc/init.d/ndo2db status
ndo2db (pid 2894 2437) is running...
Checking CentStorage:
$ /etc/init.d/centstorage status
centstorage is running.