Nagios+centreon Configuration
1.ConfigurationCentreton Web①.Start the service:
Chkconfig httpd on
Chkconfig mysqld on
Chkconfig--add ndo2db
Chkconfig ndo2db on
Chkconfig--add Nagios
Chkconfig Nagios on
/ETC/INIT.D/HTTPD restart
/etc/init.d/mysqld start
/etc/init.d/ndo2db start
/etc/init.d/nagios start
chkconfig centcore on # installation Centreon
chkconfig centstorage on # when installing centreon , auto-complete
②. Centreon WebInstallation configuration:
Browser input:
http://ip/centreon/install/setup.php
If the following occurs when the interface is started:
You has to enable the cookie to proceed with the installation
Please switch back on with the Firfox browser.
If an error occurs,the Centreon prompt does not succeed, re-executes the previous ./install.sh-i Installation:
Rm-rf/usr/local/centreon
Rm-rf/etc/centreon
Rm-rf/etc/httpd/conf.d/centreon.conf
Rm-rf/var/lib/centreon
./install.sh-i
2.SetCentreonControlNagios
In fact, if you follow the above steps, the default is set up, here is just a hint to pay attention to the place.
when the installation is complete, entering the Web interface will appear:
Some database Poller updates is not active; Check your Nagios platform
you can follow the steps below to resolve them.
①.in theNagiosenabled inNDOmodule:
BROKER_MODULE=/USR/LOCAL/NAGIOS/BIN//NDOMOD.O config_file=/usr/local/nagios/etc/ndomod.cfg
Output :127.0.0.1
TCP Port :5668
Buffer size of the interface :
②.ConfigurationNdo2db, ports,Socket typeand theNdomod.cfgSame:
③ activation configuration:
1), test configuration whether there is a problem
2), Export activation configuration
at the first activation , a configuration file for the corresponding monitoring template, host, and service is generated in the/USR/LOCAL/NAGIOS/ETC directory:
note: each time you modify the configuration file, or add a new host Span style= "font-family: Song body; color:red; Background:none repeat scroll 0% 0% yellow; " >, service export activating configuration " in order to take effect!!
Start your Centreon+nagios journey!!!
Nagios+centreon Summary of the third chapter--nagios+centreon simple configuration