nagios介紹及Server安裝(二)-創(chuàng)新互聯(lián)

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

創(chuàng)新互聯(lián)堅持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:網(wǎng)站建設(shè)、成都做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時代的太白網(wǎng)站設(shè)計、移動媒體設(shè)計的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!
[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.驗證是否安裝上了
#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三個庫及密碼:自定義(我的是centreon)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

配置centon管理員用戶、密碼,其他三項自定義

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

點擊Click here to complete your install完成安裝

nagios介紹及Server安裝(二)

到此就安裝完畢了;輸入帳號,密碼即可

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)檢查nagios.cfg的配置,configuration-> nagios-> nagios.cfg-> Nagios CFG1nagios介紹及Server安裝(二)點擊Data標(biāo)簽,檢查NDO的配置,主要有以下2項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安裝(二)點擊General標(biāo)簽,檢查NDO的配置,主要有以下3項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項nagios介紹及Server安裝(二)

InterfaceType tcpsocketnagios介紹及Server安裝(二)

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

TCP Port 5668

nagios介紹及Server安裝(二)

nagios介紹及Server安裝(二)8)、啟動相關(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安裝(二)

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

本文名稱:nagios介紹及Server安裝(二)-創(chuàng)新互聯(lián)
文章URL:http://muchs.cn/article0/csjdio.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供電子商務(wù)、品牌網(wǎng)站制作、品牌網(wǎng)站建設(shè)、軟件開發(fā)網(wǎng)站內(nèi)鏈、網(wǎng)站收錄

廣告

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

網(wǎng)站建設(shè)網(wǎng)站維護(hù)公司