资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

nagios客户端脚本安装

第一版
#!/bin/sh
set -x
groupadd nagios
useradd -g nagios -s /sbin/nologin nagios
cd nrpe-2.12
./configure
make all                  
make install-plugin       
make install-daemon       
make install-daemon-config
cd /data/nagios-plugins-1.4.11/
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
chown nagios.nagios /usr/local/nagios
chown -R nagios.nagios /usr/local/nagios/libexec
set +x

第二版

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:空间域名、虚拟主机、营销软件、网站建设、万荣网站维护、网站推广。

[root@xiazai data]# cat add_nagios.sh
#!/bin/sh
set -x
groupadd nagios
useradd -g nagios -s /sbin/nologin nagios
rpm -qa|grep openssl-devel
if [ $? == 0 ]
then
    cd nrpe-2.12
    ./configure
    make all                 
    make install-plugin      
    make install-daemon      
    make install-daemon-config
    cd /data/nagios-plugins-1.4.11/
    ./configure --with-nagios-user=nagios --with-nagios-group=nagios
    make
    make install
    chown nagios.nagios /usr/local/nagios
    chown -R nagios.nagios /usr/local/nagios/libexec
else
    echo "please install openssl-devel"
fi
set +x

网页名称:nagios客户端脚本安装
网页路径:http://cdkjz.cn/article/gpjedi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220