真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

nagios監(jiān)控-創(chuàng)新互聯(lián)

139  yum install gd-devel-2.0.35-11.el6.x86_64.rpm  -y

為臨淄等地區(qū)用戶提供了全套網(wǎng)頁(yè)設(shè)計(jì)制作服務(wù),及臨淄網(wǎng)站建設(shè)行業(yè)解決方案。主營(yíng)業(yè)務(wù)為成都網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)、臨淄網(wǎng)站設(shè)計(jì),以傳統(tǒng)方式定制建設(shè)網(wǎng)站,并提供域名空間備案等一條龍服務(wù),秉承以專業(yè)、用心的態(tài)度為用戶提供真誠(chéng)的服務(wù)。我們深信只要達(dá)到每一位用戶的要求,就會(huì)得到認(rèn)可,從而選擇與我們長(zhǎng)期合作。這樣,我們也可以走得更遠(yuǎn)!

  140  ls

  142  tar jxf  nagios-cn-3.2.3.tar.bz2

  143  cd nagios-cn-3.2.3

  144  ls

  145  vim INSTALLING.zh_CN.UTF8

  149  yum search Chinese

  150  yum install cjkuni-ukai-fonts.noarch  cjkuni-uming-fonts.noarch -y

  151  useradd nagios

  152  id nagios

  153  echo nagios:westos|chpasswd

  154  groupadd nagcmd

  155  usermod -G nagcmd nagios

  156  usermod -G nagcmd apache

  157  id apache

  158  rpm -q httpd

  159  ./configure --with-command-group=nagcmd

  160  yum install gcc -y

  161  ./configure --with-command-group=nagcmd

  162  make all

  163  make install

  164  make install-init

  165  make install-commandmode

  166  make install-config

  167  make install-webconf

  168  chkconfig  nagios on

  169  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ##檢查文件配置

  170  vim /usr/local/nagios/etc/htpasswd.users

  171  cat  /usr/local/nagios/etc/htpasswd.users

  172  htpasswd  -m /usr/local/nagios/etc/htpasswd.users  nagiosadmin

  173  cat /etc/httpd/conf.d/nagios.conf

  174  /etc/init.d/httpd restart

  175  /etc/init.d/nagios  start

  176  cd

  177  ls

  179  tar zxf  nagios-plugins-2.1.1.tar.gz

  180  cd nagios-plugins-2.1.1

  181  ls

  182  vim INSTALL

  183  ./configure --help

  184  ./configure --with-nagios-user=nagios --with-nagios-group=nagios

  185  ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-perl-modules --enable-libtap

  186  make

  187  yum install perl-ExtUtils-MakeMaker -y

  188  make

  189  make install

  190  /etc/init.d/nagios  reload

  198  cd /usr/local/nagios/

  199  ls

  200  cd bin/

  201  ls

  202  cd nagios

  203  cd ..

  204  cd etc/

  205  ls

  207  vim nagios.cfg

cfg_file=/usr/local/nagios/etc/objects/hosts.cfg

cfg_file=/usr/local/nagios/etc/objects/services.cfg

# Definitions for monitoring the local (Linux) host

# cfg_file=/usr/local/nagios/etc/objects/localhost.cfg

  208  cd objects/

  209  ls

  210  cp localhost.cfg   hosts.cfg

  211  vim hosts.cfg

define host{

        use                     linux-server

        host_name               server1.example.com

        alias                   Manager

#       parents                 MainSwitch

        address                 172.25.41.1

        icon_p_w_picpath              server.gif

        statusmap_p_w_picpath         server.gd2

        2d_coords               500,200

        3d_coords               500,200,100

        }

#####################################

define hostgroup{

        hostgroup_name  linux-servers ; The name of the hostgroup

        alias           Linux Servers ; Long name of the group

        members         *     ; Comma separated list of hosts that belong to this group

        }

  212  cp localhost.cfg  services.cfg

  213  vim services.cfg

define servicegroup{

        servicegroup_name 系統(tǒng)負(fù)荷檢查

        alias 負(fù)荷檢查

        members server1.example.com,進(jìn)程總數(shù),server1.example.com,登錄用戶數(shù),server1.example.com,根分區(qū),server1.example.com,交換空間利用率

        }     ##***全文替換%s//server1.example.com/g

  214  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

  215  vim services.cfg

  216  cp localhost.cfg  services.cfg

  217  vim services.cfg

  218  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

  219  /etc/init.d/nagios  restart

  220  /etc/init.d/httpd restart

  221  echo www.westos.org > /var/www/html/index.html

  222  /etc/init.d/httpd restart

  223  cd

  224  ls

  225  rpm -ivh  rrdtool-perl-1.3.8-6.el6.x86_64.rpm

  226  tail -f /var/log/httpd/error_log

  227  yum install perl-CGI

  228  /etc/init.d/nagios  reload

  229  /etc/init.d/httpd restart

  230  /etc/init.d/nagios  restart

  231  /etc/init.d/httpd restart

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。


分享名稱:nagios監(jiān)控-創(chuàng)新互聯(lián)
鏈接地址:http://weahome.cn/article/cojsjj.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部