Nagios Introduction and Server Installation (ii)

Source: Internet
Author: User
Tags posix

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>6), start related services

[[email protected] ~]#/etc/init.d/httpd start[[email protected] ~]#/etc/init.d/mysqld Start[[email protected] ~]# Mysqladmin-uroot password ' 111111 ' [[email protected] ~]#/etc/init.d/ndo2db start

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>7), web Interface installation

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Http://192.168.100.187/centreon


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E6/wKioL1OdjqfA6sMJAADCeE3K1_I883.jpg "title=" 1.jpg " alt= "Wkiol1odjqfa6smjaadcee3k1_i883.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E5/wKiom1Odjv7Q8gUqAAGoSQo-2Nw375.jpg "title=" 1.jpg " alt= "Wkiom1odjv7q8guqaagosqo-2nw375.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E6/wKioL1OdjvGBsONWAAEmG4hmPVc743.jpg "title=" 1.jpg " alt= "Wkiol1odjvgbsonwaaemg4hmpvc743.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E6/wKioL1Odjxuzee2hAADybDuZBoc459.jpg "title=" 1.jpg " alt= "Wkiol1odjxuzee2haadybduzboc459.jpg"/>

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Discovery hint Php-posix module is not installed650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Workaround:650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>1. Installing Php-posix650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>#yum-y install php-process
2. Verify that you have installed the
#php-m|grepposix
Posix
Well, you can see that PHP is already supporting POSIX, and restarting Apache is OK.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E6/wKioL1Odj0KwD8T_AADjFXECj_8053.jpg "title=" 1.jpg " alt= "Wkiol1odj0kwd8t_aadjfxecj_8053.jpg"/>

Refresh Installation Interface Discovery OK , go on . Next


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E5/wKiom1Odj4WRrmLJAAFKFKzbmvI284.jpg "title=" 1.jpg " alt= "Wkiom1odj4wrrmljaafkfkzbmvi284.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E5/wKiom1Odj5awKSNGAAFkBKCtoHw016.jpg "title=" 1.jpg " alt= "Wkiom1odj5awksngaafkbkctohw016.jpg"/>

Mysql Root Password: Fill in the above initialization password, Centreon three libraries and Passwords: Custom (mine is Centreon )


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E6/wKioL1Odj4Txygh-AACu5vfE6fs056.jpg "title=" 1.jpg " alt= "Wkiol1odj4txygh-aacu5vfe6fs056.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E5/wKiom1Odj8PBIMY0AADz_Uujzi4222.jpg "title=" 1.jpg " alt= "Wkiom1odj8pbimy0aadz_uujzi4222.jpg"/>

Configuration Centon Admin user, password, other three items custom


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E6/wKioL1Odj6vCL3b5AADCFjqYWew703.jpg "title=" 1.jpg " alt= "Wkiol1odj6vcl3b5aadcfjqywew703.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E6/wKioL1Odj72iLl-nAADtlaWqrPQ131.jpg "title=" 1.jpg " alt= "Wkiol1odj72ill-naadtlawqrpq131.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E5/wKiom1Odj_rg28M0AAIkgjZnUbU062.jpg "title=" 1.jpg " alt= "Wkiom1odj_rg28m0aaikgjznubu062.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E5/wKiom1OdkAzgtky4AAD84N87r7k266.jpg "title=" 1.jpg " alt= "Wkiom1odkazgtky4aad84n87r7k266.jpg"/>

Click Click here to complete your install Complete the installation


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E6/wKioL1Odj_fzKNvbAAD84N87r7k619.jpg "title=" 1.jpg " alt= "Wkiol1odj_fzknvbaad84n87r7k619.jpg"/>


The installation is complete; Enter the account number, the password can be


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2E/E5/wKiom1OdkD_xo2gfAAGxGqGMGmk980.jpg "title=" 1.jpg " alt= "Wkiom1odkd_xo2gfaagxgqgmgmk980.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E6/wKioL1OdkCuhrvzrAAF-QpZEYRI779.jpg "title=" 1.jpg " alt= "Wkiol1odkcuhrvzraaf-qpzeyri779.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E5/wKiom1OdkGqyBhBPAAJO-p0ZRV0062.jpg "title=" 1.jpg " alt= "Wkiom1odkgqybhbpaajo-p0zrv0062.jpg"/>


650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Check the configuration of the nagios.cfg,configuration-> nagios-> nagios.cfg-> nagios CFG1650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Click on the Data tab to check the configuration of Ndo, the following 2 main items650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>brokermodule/usr/local/nagios/bin/ndomod.oconfig_file=/usr/local/nagios/etc/ndomod.cfg650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Brokermodule Options-1

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E5/wKiom1OdkIujeCQjAAIsabPl1CA809.jpg "title=" 1.jpg " alt= "Wkiom1odkiujecqjaaisabpl1ca809.jpg"/>

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Check ndo2db.cfg configuration,configuration-> centreon-> ndo2db.cfg-Principal650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Click on the General tab to check the Ndo configuration for the following 3 main items650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>sockettype TCP650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>Socketname/var/run/ndo.sock650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>TCPPort 5668650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/2E/E6/wKioL1OdkHvQx9GKAAJuOj69lpE135.jpg " Title= "1.jpg" alt= "Wkiol1odkhvqx9gkaajuoj69lpe135.jpg"/>

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;/> Check ndomod.cfg configuration,configuration-> Centreon-> ndomod.cfg-> Central-mod

Check the configuration of Ndo, there are the following 3 main items 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>

InterfaceType Tcpsocket 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>

Out put 127.0.0.1 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>

TCP Port 5668

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E5/wKiom1OdkPyznkheAAJLtjqVki8020.jpg "title=" 1.jpg " alt= "Wkiom1odkpyznkheaajltjqvki8020.jpg"/>


650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>8), start related services

[Email protected]~]#/etc/init.d/nagios start[[email protected] ~]#/etc/init.d/ndo2dbre Start[[email protected] ~]#/ Etc/init.d/centcore Start[[email protected] ~]#/etc/init.d/centstorage Start[[email protected] ~]#/usr/local/nagios/ Bin/nrpe-c/usr/local/nagios/etc/nrpe.cfg–d

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;"/>9), Centreon Chinese

[[Email protected] ~] #wget [[email protected] ~] #mkdir-P/usr/local/centreon/www/locale/zh_cn/lc_messages/[email Protected] ~] #cp messages.mo/usr/local/centreon/www/locale/zh_cn/lc_messages/[[email protected] ~] #chown Apache: Apache-r/usr/local/centreon/www/locale

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2E/E6/wKioL1OdkY7isnQKAAHaiahxmvc451.jpg "title=" 1.jpg " alt= "Wkiol1odky7isnqkaahaiahxmvc451.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2E/E5/wKiom1OdkcyjXxlIAAKUvf-ivJs558.jpg "title=" 1.jpg " alt= "Wkiom1odkcyjxxliaakuvf-ivjs558.jpg"/>

This article is from the "LEO_SARY_LANSGG" blog, make sure to keep this source http://lansgg.blog.51cto.com/5675165/1426676

Related Article

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.