nagisocheck_MK centos6.3

 
           Check_MK Install
[root@aa-test-02 media]# yum install httpd gcc glibc glibc-common gd gd-devel php
[root@aa-test-02 ~]# useradd -m nagios
[root@aa-test-02 ~]# groupadd nagcmd
[root@aa-test-02 ~]# usermod -a -G nagcmd nagios
[root@aa-test-02 ~]# usermod -a -G nagcmd apache
[root@aa-test-02 ~]#
 
[root@aa-test-02 nagios-3.2.3]# tar -xvf nagios-3.2.3.tar.gz
[root@aa-test-02 tmp]# cd nagios-3.2.3
[root@aa-test-02 nagios-3.2.3]# ./configure --with-command-group=nagcmd
[root@aa-test-02 nagios-3.2.3]# make all
[root@aa-test-02 nagios-3.2.3]# make install
[root@aa-test-02 nagios-3.2.3]# make install-init
[root@aa-test-02 nagios-3.2.3]# make install-config
[root@aa-test-02 nagios-3.2.3]# make install-commandmode
[root@aa-test-02 nagios-3.2.3]# make install-webconf
[root@aa-test-02 etc]# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
 
[root@aa-test-02 etc]# service httpd start
[root@aa-test-02 nagios-plugins-1.4.16]# tar -vxf nagios-plugins-1.4.16.tar.gz
[root@aa-test-02 tmp]# cd nagios-plugins-1.4.16
[root@aa-test-02 nagios-plugins-1.4.16]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
[root@aa-test-02 nagios-plugins-1.4.16]# make && make install
 
[root@aa-test-02 nagios-plugins-1.4.15]# chkconfig --add nagios
[root@aa-test-02 nagios-plugins-1.4.15]# chkconfig --add httpd
[root@aa-test-02 nagios-plugins-1.4.15]# chkconfig httpd on
[root@aa-test-02 nagios-plugins-1.4.15]#
[root@aa-test-02 nagios-plugins-1.4.15]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
 
http://192.168.0.239/nagios/
 
 
[root@aa-test-02 mod_python-3.3.1]# yum install python-dev httpd-devel
[root@aa-test-02 usr]# tar -vxf mod_python-3.3.1.tar
[root@aa-test-02 usr]# ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python
[root@aa-test-02 usr]# make && make install
[root@aa-test-02 usr]# vim /etc/httpd/conf/httpd.conf
LoadModule python_module modules/mod_python.so
 
[root@aa-test-02 usr]# tar -vxf check_mk-1.2.0p3.tar.gz
[root@aa-test-02 check_mk-1.2.0p3]# cd check_mk-1.2.0p3
[root@aa-test-02 check_mk-1.2.0p3]# ./setup.sh
[root@aa-test-02 usr]# yum install check_mk-agent-1.2.0p3-1.noarch.rpm
 
 
 

網(wǎng)頁(yè)標(biāo)題:nagisocheck_MK centos6.3
URL分享:http://bm7419.com/article6/gijgig.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供ChatGPT、建站公司全網(wǎng)營(yíng)銷推廣、關(guān)鍵詞優(yōu)化網(wǎng)站改版、標(biāo)簽優(yōu)化

廣告

聲明:本網(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)

網(wǎng)站優(yōu)化排名