nagiso check_MK   centos 6.3

发布时间:2020-07-28 09:45:41 作者:xiaoyun222
来源:网络 阅读:876

 

 
            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
 
 
 
推荐阅读:
  1. 【REACT NATIVE 系列教程之十二】REACT NATIVE(JS/ES)与IOS(OBJECT-C)交互通信
  2. 游戏域名过期,ios审核涉及到ipv6的问题总结。

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

nagiso centos 6.3 check_mk

上一篇:python中json.dumps中文乱码怎么办

下一篇:如何解决php mysql连接失败的问题

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》