Redhat如何安裝配置nagios

這篇文章給大家分享的是有關(guān)Redhat如何安裝配置nagios的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

成都創(chuàng)新互聯(lián)公司成立與2013年,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項目成都網(wǎng)站制作、成都網(wǎng)站建設(shè)網(wǎng)站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元石屏做網(wǎng)站,已為上家服務(wù),為石屏各地企業(yè)和個人服務(wù),聯(lián)系電話:18982081108

安裝nagios

[root@localhost src]# tar zxvf nagios-3.2.1.tar.gz   [root@localhost src]# cd nagios-3.2.1   [root@localhost nagios-3.2.1]#./configure --with-command-group=nagcmd --prefix=/usr/local/nagios   [root@localhost nagios-3.2.1]# make all   [root@localhost nagios-3.2.1]# make install   [root@localhost nagios-3.2.1]# make install-init   /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/init.d   /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/nagios   [root@localhost nagios-3.2.1]# make install-config   ……   *** Config files installed ***   Remember, these are *SAMPLE* config files. You'll need to read   the documentation for more information on how to actually define   services, hosts, etc. to fit your particular needs.   [root@localhost nagios-3.2.1]# make install-commandmode   /usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/rw   chmod g+s /usr/local/nagios/var/rw   *** External command directory configured ***

驗證安裝在/usr/local/nagios,是否生成目錄bin etc sbin share var.

[root@localhost ~]# cd /usr/local/nagios   [root@localhost nagios]# ls   bin etc sbin share var

感謝各位的閱讀!關(guān)于“Redhat如何安裝配置nagios”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

當(dāng)前標(biāo)題:Redhat如何安裝配置nagios
轉(zhuǎn)載來于:http://muchs.cn/article22/pgopcc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)、關(guān)鍵詞優(yōu)化網(wǎng)站營銷、用戶體驗、網(wǎng)站維護網(wǎng)站內(nèi)鏈

廣告

聲明:本網(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)站優(yōu)化排名