宏源棋牌

  • <tr id='626ay'><strong id='626ay'></strong><small id='626ay'></small><button id='626ay'></button><li id='626ay'><noscript id='626ay'><big id='626ay'></big><dt id='626ay'></dt></noscript></li></tr><ol id='626ay'><option id='626ay'><table id='626ay'><blockquote id='626ay'><tbody id='626ay'></tbody></blockquote></table></option></ol><u id='626ay'></u><kbd id='626ay'><kbd id='626ay'></kbd></kbd>

    <code id='626ay'><strong id='626ay'></strong></code>

    <fieldset id='626ay'></fieldset>
          <span id='626ay'></span>

              <ins id='626ay'></ins>
              <acronym id='626ay'><em id='626ay'></em><td id='626ay'><div id='626ay'></div></td></acronym><address id='626ay'><big id='626ay'><big id='626ay'></big><legend id='626ay'></legend></big></address>

              <i id='626ay'><div id='626ay'><ins id='626ay'></ins></div></i>
              <i id='626ay'></i>
            1. <dl id='626ay'></dl>
              1. <small id='o5mxk'></small><noframes id='o5mxk'>

              2. <tfoot id='o5mxk'></tfoot>

                  <legend id='o5mxk'><style id='o5mxk'><dir id='o5mxk'><q id='o5mxk'></q></dir></style></legend>
                  <i id='o5mxk'><tr id='o5mxk'><dt id='o5mxk'><q id='o5mxk'><span id='o5mxk'><b id='o5mxk'><form id='o5mxk'><ins id='o5mxk'></ins><ul id='o5mxk'></ul><sub id='o5mxk'></sub></form><legend id='o5mxk'></legend><bdo id='o5mxk'><pre id='o5mxk'><center id='o5mxk'></center></pre></bdo></b><th id='o5mxk'></th></span></q></dt></tr></i><div id='o5mxk'><tfoot id='o5mxk'></tfoot><dl id='o5mxk'><fieldset id='o5mxk'></fieldset></dl></div>

                      <bdo id='o5mxk'></bdo><ul id='o5mxk'></ul>

                      1. <li id='o5mxk'><abbr id='o5mxk'></abbr></li>
                      2. 企业空间 采购商城
                        宏源棋牌 > 实用工具 > 正文

                        smokeping,一款开源的网络监控软件工具

                        2015-08-09 10:25来源:中国存储网
                        导读:smokeping的开源软件还不错,它是rrdtool的作者制作的,在图形显示方面很漂亮,可以用来很好的检测网络状态和稳定性。

                        ZUIJINGONGZUOZHONGXUYAOJIANCEMOUGEFENGONGSIDAOIDCJIFANGDEWANGLUOQINGKUANG,DAOWANGLUOSHANGZHAOLEBUSHAORUANJIAN,FAXIANYIKUANJIAOsmokepingDEKAIYUANRUANJIANHAIBUCUO,TASHIrrdtoolDEZUOZHEZHIZUODE,ZAITUXINGXIANSHIFANGMIANHENPIAOLIANG,KEYIYONGLAIHENHAODEJIANCEWANGLUOZHUANGTAIHEWENDINGXING。

                        宏源棋牌XIAMIANJIESHAOYIXIARUANJIANDEANZHUANGPEIZHIFANGFA:

                        一.安装软件 
                        1.使用yum 命令安装所需的工具 
                        宏源棋牌 yum install gcc freetype-devel zlib-devel libpng-devel libart_lgpl-devel httpd-devel apr-util-devel apr-devel cairo cairo-devel pango pango-devel libxml2 libxml2-devel perl-XML-Simple.noarch perl-Crypt-SSLeay perl-Digest-HMAC

                        2. 安装rrdtool 
                        wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.6.tar.gz 
                        tar zxvf rrdtool-1.3.6.tar.gz 
                        cd rrdtool-1.3.6 
                        ./configure --disable-tcl 
                        make 
                        宏源棋牌 make install

                        3. 安装cgilib 
                        wget http://down1.chinaunix.net/distfiles/cgilib-0.5.tar.gz 
                        tar zxvf cgilib-0.5.tar.gz 
                        cd cgilib-0.5 
                        make 
                        cp libcgi.a /usr/local/lib 
                        宏源棋牌 cp cgi.h /usr/include

                        4. 安装fping 
                        wget http://fping.sourceforge.net/download/fping.tar.gz 
                        tar zxvf fping.tar.gz 
                        cd fping-2.4b2_to 
                        ./configure 
                        make 
                        make check 
                        宏源棋牌 make install

                        5.安装 echoping 
                        wget http://jaist.dl.sourceforge.net/project/echoping/echoping/6.0.0/echoping-6.0.0.tar.gz 
                        tar zxvf echoping-6.0.0.tar.gz 
                        cd echoping-6.0.0 
                        ./configure 
                        make 
                        make test 
                        宏源棋牌 make install

                        6.安装 CGI-SpeedyCGI 
                        wget ftp://195.220.108.108/linux/epel/5/x86_64/mod_speedycgi-2.22-4.el5.x86_64.rpm 
                        wget ftp://ftp.muug.mb.ca/mirror/fedora/epel/5/x86_64/perl-CGI-SpeedyCGI-2.22-4.el5.x86_64.rpm 
                        rpm -ivh --force perl-CGI-SpeedyCGI-2.22-4.el5.x86_64.rpm 
                        rpm -ivh mod_speedycgi-2.22-4.el5.x86_64.rpm 
                        wget http://mirrors.163.com/cpan/authors/id/H/HO/HORROCKS/CGI-SpeedyCGI-2.22.tar.gz 
                        tar zxvf CGI-SpeedyCGI-2.22.tar.gz 
                        cd CGI-SpeedyCGI-2.22 
                        perl Makefile.PL 
                        遇到问题选择默认选项(no) 
                        make 
                        make test 
                        make install

                        7.安装smokeping 
                        wget http://oss.oetiker.ch/smokeping/pub/smokeping-2.3.6.tar.gz 
                        tar zxvf smokeping-2.3.6.tar.gz 
                        mv smokeping-2.3.6 /usr/local/smokeping 
                        宏源棋牌 cd /usr/local/smokeping

                        二.配置smokeping 
                        1. 修改文件名 
                        修改/usr/local/smokeping/bin下的smokeping.dist 
                        cp smokeping.dist smokeping 
                        修改etc/ 下的 basepage.html.dist,config.dist,smokemail.dist 
                        cp basepage.html.dist basepage.html 
                        cp config.dist config 
                        cp smokemail.dist smokemail 
                        chmod 600 smokeping_secrets.dist 
                        修改htdoc/下的smokeping.cgi.dist 
                        宏源棋牌 cp smokeping.cgi.dist smokeping.cgi

                        2. XIUGAIPEIZHIWENJIAN

                        配置 bin/smokeping 
                        vi /usr/local/smokeping/bin/smokeping 
                        在这个文件里面我们需要修改前面两个 lib 和后面 config 文件的 path。 
                        两个 lib 分别是 smokeping 的 lib 和 rrdtool 的 lib (红色为修改后的内容) 
                        #!/usr/sepp/bin/perl-5.8.4 -w 
                        #!/usr/bin/perl -w 
                        use lib qw(/usr/pack/rrdtool-1.2.23-mo/lib/perl); 
                        use lib qw(/usr/local/rrdtool-1.3.6/lib/perl); 
                        use lib qw(lib); 
                        use lib qw(/usr/local/smokeping/lib); 
                        use Smokeping 2.003006; 
                        Smokeping::main("etc/config.dist"); 
                        Smokeping::main("/usr/local/smokeping/etc/config"); 
                        配置 htdocs/smokeping.cgi,方法与上面相同 
                        vi /usr/local/smokeping/htdocs/smokeping.cgi 
                        ************************ 
                        宏源棋牌 #!/usr/sepp/bin/speedy -w

                        #-*-perl-*- 
                        #!/usr/bin/speedy -w 
                        # -*-perl-*- 
                        # use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); 
                        use lib qw(/usr/local/rrdtool-1.3.6/lib/perl/); 
                        # use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib); 
                        use lib qw(usr/local/smokeping//lib); 
                        use Smokeping 2.003006; 
                        Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); 
                        Smokeping::cgi("/usr/local/smokeping/etc/config"); 
                        配置 etc/config 
                        vi usr/local/smokeping/etc/config   将以下几行替换为已经安装的相关软件的路径 
                        *** General *** 
                        imgcache = /home/oetiker/public_html/smokeping-ms/cache 
                        imgcache = /usr/local/smokeping/htdocs/cache 
                        imgurl = cache 
                        imgurl = cache 
                        datadir = /tmp/smokeping-ms/data 
                        datadir = /usr/local/smokeping/var 
                        piddir = /tmp/smokeping-ms/var 
                        piddir = /usr/local/smokeping/var 
                        cgiurl = http://some.url/smokeping.cgi 
                        cgiurl = http://本机IP/htdocs/smokeping.cgi ; 
                        smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist 
                        smokemail = /usr/local/smokeping/etc/smokemail 
                        tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist 
                        tmail = /usr/local/smokeping/etc/tmail.dist 
                        *** Presentation *** 
                        template= /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist 
                        template = /usr/local/smokeping-2.3.6/etc/basepage.html 
                        *** Probes *** 
                        + FPing 
                        binary = /usr/sbin/fping 
                        binary = /usr/local/sbin/fping 
                        #** Database *** 
                        step = 60 
                        宏源棋牌 pings = 10

                        修改ping的频率,默认为300秒ping20 次,我们可以根据需要调整,这里修改为60秒 ping 10次。 
                        *** Targets *** 
                        #================================= 
                        #这里用于配置监控目标,以+号分层,+为宏源棋牌,++为子层,我们以百度和搜狐为例。 
                        +TEST              
                        menu= TEST 
                        title = TEST 
                        ++ baidu         
                        menu = baidu 
                        title = baidu 
                        host = 115.239.210.27 
                        ++ sohu 
                        menu = sohu 
                        title = sohu 
                        host = 121.14.0.97 
                        #================================= 
                        3. 添加目录

                        JIANLIXIAMIANSANGEMULUYONGYUBAOCUNsmokepingDESHUJUDENG

                        mkdir /usr/local/smokeping/data

                        宏源棋牌mkdir /usr/local/smokeping/var

                        宏源棋牌mkdir /usr/local/smokeping/htdocs/cache

                        chown –R apache:apache /usr/local/smokeping

                        宏源棋牌4. XIUGAIapachePEIZHIWENJIAN

                        vi /etc/httpd/conf/httpd.conf 
                        添加下面内容: 
                        Alias /smokeping/ "/usr/local/smokeping/htdocs/" 
                        Alias /cache/ "/usr/local/smokeping/cache/" 
                        <Directory "/usr/local/smokeping/htdocs"> 
                        Options FollowSymLinks ExecCGI 
                        AllowOverride None 
                        AddHandler cgi-script cgi 
                        Order allow,deny 
                        Allow from all 
                        宏源棋牌 </Directory>

                        三.启动 
                        1.重启apache 
                        宏源棋牌 service httpd restart

                        2.重启smokeping 
                        宏源棋牌 /usr/local/smokeping/bin/smokeping restart

                        WANCHENG。

                        XIAOGUOTU: 

                        smokeping,一款开源的网络监控软件工具 smokeping,一款开源的网络监控软件工具

                        宏源棋牌BENWENCHUZI “AlexDEJISHUBOKE” BOKE http://sr2009.blog.51cto.com/742434/1151064

                        继续阅读
                        中国存储网声明:此文观点不代表本站立场,如有版权疑问请联系我们。
                        相关阅读
                        产品推荐
                        头条阅读
                        栏目热点

                        Copyright @ 2006-2019 ubergeil.com BANQUANSUOYOU JINGICPBEI14047533HAO

                        中国存储网

                        CUNCHUDIYIZHAN,CUNCHUMENHU,CUNCHUZAIXIANJIAOLIUPINGTAI

                        在线赌博最新 娱乐正规网址-Welcome 天宫棋牌下载---宏源棋牌_欢迎您 延边棋牌游戏---宏源棋牌_Welcome 乐酷棋牌---宏源棋牌_欢迎您