溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

nagios介紹及Server安裝(二)

發布時間:2020-06-12 11:40:28 來源:網絡 閱讀:577 作者:西索oO 欄目:移動開發

nagios介紹及Server安裝(二)6)、啟動相關服務

[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安裝(二)發現提示php-posix模塊沒有安裝nagios介紹及Server安裝(二)解決方法:nagios介紹及Server安裝(二)1.安裝php-posixnagios介紹及Server安裝(二)#yum-y install php-process
2.驗證是否安裝上了
#php -m|grepposix
posix
好了,可以看到php已經支持posix了,重啟apache就ok. 


nagios介紹及Server安裝(二)

刷新安裝界面發現OK了;繼續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標簽,檢查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標簽,檢查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)、啟動相關服務

[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安裝(二)

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女