1.nagios安裝
創(chuàng)新互聯(lián)是專業(yè)的新安網(wǎng)站建設(shè)公司,新安接單;提供成都做網(wǎng)站、網(wǎng)站設(shè)計(jì),網(wǎng)頁(yè)設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行新安網(wǎng)站開(kāi)發(fā)網(wǎng)頁(yè)制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛(ài)的網(wǎng)站,專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來(lái)合作!
groupadd nagios
useradd -g nagios nagios
mkdir -p /usr/local/nagios/
passwd nagios
tar -xvf nagios-4.0.8.tar.gz
cd nagios-4.0.8
./configure --prefix=/usr/local/nagios/ --with-command-group=nagios --with-nagios-user=nagios --with-nagios-group=nagios
make all
make install
make install-init
make install-commandmode
make install-config
make install-webconf
2.nagios-plugins安裝
tar -xvf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
./configure --prefix=/usr/local/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios
make && make install
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
3.配置驗(yàn)證用戶
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
chown -R nagios.nagios /usr/local/nagios/etc/htpasswd.users
4.安裝NRPE
tar -xvf nrpe-2.12.tar.gz
cd nrpe-2.12
./configure --prefix=/usr/local/nagios --enable-command-args
make all
make install-plugin
make install-daemon
make install-daemon-config
/etc/init.d/httpd start
/etc/init.d/nagios start
網(wǎng)頁(yè)標(biāo)題:開(kāi)源監(jiān)控解決方案Nagios+Cacti+PNP4Nagios+NConf+NDOUtils+Nagvis(二)nagios安裝
文章分享:http://jinyejixie.com/article20/jjhico.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供標(biāo)簽優(yōu)化、網(wǎng)站內(nèi)鏈、、服務(wù)器托管、手機(jī)網(wǎng)站建設(shè)、Google
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)