nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)6)、啟動(dòng)相關(guān)服務(wù)

我們提供的服務(wù)有:成都網(wǎng)站建設(shè)、網(wǎng)站建設(shè)、微信公眾號(hào)開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、菏澤ssl等。為上1000+企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的菏澤網(wǎng)站制作公司

[root@centreon ~]#/etc/init.d/httpd start
[root@centreon ~]#/etc/init.d/MySQLd start
[root@centreon ~]# mysqladmin -uroot password '111111'
[root@centreon ~]#/etc/init.d/ndo2db start

nagios介紹及Server安裝(二)7)、WEB界面安裝

nagios介紹及Server安裝(二)http://192.168.100.187/centreon

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)發(fā)現(xiàn)提示php-posix模塊沒有安裝nagios介紹及Server安裝(二)解決方法:nagios介紹及Server安裝(二)1.安裝php-posixnagios介紹及Server安裝(二)#yum-y install php-process
2.驗(yàn)證是否安裝上了
#php -m|grepposix
posix
好了,可以看到php已經(jīng)支持posix了,重啟apache就ok. 

nagios介紹及Server安裝(二)

刷新安裝界面發(fā)現(xiàn)OK了;繼續(xù)next


nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

Mysql root密碼:填入上面初始化密碼,centreon三個(gè)庫及密碼:自定義(我的是centreon)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

配置centon管理員用戶、密碼,其他三項(xiàng)自定義

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

點(diǎn)擊Click here to complete your install完成安裝

nagios介紹及Server安裝(二)

到此就安裝完畢了;輸入帳號(hào),密碼即可

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)檢查nagios.cfg的配置,configuration-> nagios-> nagios.cfg-> Nagios CFG1nagios介紹及Server安裝(二)點(diǎn)擊Data標(biāo)簽,檢查NDO的配置,主要有以下2項(xiàng)nagios介紹及Server安裝(二)BrokerModule         /usr/local/nagios/bin/ndomod.oconfig_file=/usr/local/nagios/etc/ndomod.cfgnagios介紹及Server安裝(二)BrokerModule Options   -1

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)檢查ndo2db.cfg的配置,configuration-> centreon-> ndo2db.cfg -> Principalnagios介紹及Server安裝(二)點(diǎn)擊General標(biāo)簽,檢查NDO的配置,主要有以下3項(xiàng)nagios介紹及Server安裝(二)SocketType      tcpnagios介紹及Server安裝(二)SocketName   /var/run/ndo.socknagios介紹及Server安裝(二)TCPPort  5668nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)檢查ndomod.cfg的配置,configuration-> centreon-> ndomod.cfg-> Central-mod

檢查NDO的配置,主要有以下3項(xiàng)nagios介紹及Server安裝(二)

InterfaceType tcpsocketnagios介紹及Server安裝(二)

Out put 127.0.0.1nagios介紹及Server安裝(二)

TCP Port  5668

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)8)、啟動(dòng)相關(guān)服務(wù)

[root@centreon~]# /etc/init.d/nagios start
[root@centreon ~]#/etc/init.d/ndo2dbre start
[root@centreon ~]#/etc/init.d/centcore start
[root@centreon ~]#/etc/init.d/centstorage start
[root@centreon ~]#/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg –d

nagios介紹及Server安裝(二)9)、centreon漢化

[root@centreon ~]#wget 
 [root@centreon ~]#mkdir -p /usr/local/centreon/www/locale/zh_CN/LC_MESSAGES/
 [root@centreon ~]#cp messages.mo /usr/local/centreon/www/locale/zh_CN/LC_MESSAGES/
 [root@centreon ~]#chown apache:apache -R /usr/local/centreon/www/locale

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

當(dāng)前題目:nagios介紹及Server安裝(二)
轉(zhuǎn)載源于:http://bm7419.com/article36/pscgsg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站、App設(shè)計(jì)、網(wǎng)站改版、動(dòng)態(tài)網(wǎng)站、企業(yè)建站外貿(mào)網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)