您好,登錄后才能下訂單哦!
6)、啟動(dòng)相關(guān)服務(wù)
[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
7)、WEB界面安裝
http://192.168.100.187/centreon
發(fā)現(xiàn)提示php-posix模塊沒有安裝解決方法:1.安裝php-posix#yum-y install php-process
2.驗(yàn)證是否安裝上了
#php -m|grepposix
posix
好了,可以看到php已經(jīng)支持posix了,重啟apache就ok.
刷新安裝界面發(fā)現(xiàn)OK了;繼續(xù)next
Mysql root密碼:填入上面初始化密碼,centreon三個(gè)庫(kù)及密碼:自定義(我的是centreon)
配置centon管理員用戶、密碼,其他三項(xiàng)自定義
點(diǎn)擊Click here to complete your install完成安裝
到此就安裝完畢了;輸入帳號(hào),密碼即可
檢查nagios.cfg的配置,configuration-> nagios-> nagios.cfg-> Nagios CFG1點(diǎn)擊Data標(biāo)簽,檢查NDO的配置,主要有以下2項(xiàng)BrokerModule /usr/local/nagios/bin/ndomod.oconfig_file=/usr/local/nagios/etc/ndomod.cfgBrokerModule Options -1
檢查ndo2db.cfg的配置,configuration-> centreon-> ndo2db.cfg -> Principal點(diǎn)擊General標(biāo)簽,檢查NDO的配置,主要有以下3項(xiàng)SocketType tcpSocketName /var/run/ndo.sockTCPPort 5668
檢查ndomod.cfg的配置,configuration-> centreon-> ndomod.cfg-> Central-mod
檢查NDO的配置,主要有以下3項(xiàng)
InterfaceType tcpsocket
Out put 127.0.0.1
TCP Port 5668
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
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
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。