Nagios+centreon Summary of the third chapter--nagios+centreon simple configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.