smokeping 安装

下面的脚本安装是在centos6的系统上执行的

iptables -F

iptables -X

service iptables save

sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g‘  /etc/selinux/config

setenforce 0

安装smoekping相关的依赖包

yum -y install rrdtool popt* curl bind-utils openssh-clients httpd perl perl-Net-Telnet perl-Net-DNS  \

perl-LDAP perl-libwww-perl perl-IO-Socket-SSL perl-Socket6 perl-Time-HiRes perl-ExtUtils-MakeMaker rrdtool \

rrdtool-perl curl  httpd httpd-devel gcc make  wget libxml2-devel libpng-devel glib* pango pango-devel \

freetype freetype-devel fontconfig cairo cairo-devel libart_lgpl libart_lgpl-devel  libidn*  make automake wqy-zenhei-fonts.noarch

service httpd restart

chkconfig httpd on

链接:http://pan.baidu.com/s/1nuOT4V3 密码:63n5

下载百度云盘里面的smokeping安装包,在要安装的centos系统里的root目录下解压,会得到三个软件包

解压并安装下面三个软件包

cd /root

tar zxvf fping-3.13.tar.gz

cd fping-3.13

./configure --prefix=/usr/local/fping && make && make install

ln -s /usr/local/fping/sbin/fping /usr/sbin/fping

cd /root/

cd /root

tar zxvf echoping-6.0.2.tar.gz

cd /root/echoping-6.0.2

./configure --prefix=/usr/local/echoping  && make && make install

cd /root/

tar zxvf smokeping-2.6.11.tar.gz

cd /root/smokeping-2.6.11/

./setup/build-perl-modules.sh /usr/local/smokeping/thirdparty

./configure --prefix=/usr/local/smokeping

/usr/bin/gmake install

cd /usr/local/smokeping/

mkdir cache data var

touch /var/log/smokeping.log

chown apache:apache cache data var

chown apache:apache /var/log/smokeping.log

chmod 600 /usr/local/smokeping/etc/smokeping_secrets.dist

cd /usr/local/smokeping/htdocs

mv smokeping.fcgi.dist smokeping.fcgi

cd /usr/local/smokeping/etc

把百度云盘里的smoekping配置文件替换原来的配置文件

配置apacha

cat  >>  /etc/httpd/conf/httpd.conf  << OFF

Alias /cache "/usr/local/smokeping/cache/"

Alias /cropper "/usr/local/smokeping/htdocs/cropper/"

Alias /smokeping "/usr/local/smokeping/htdocs/smokeping.fcgi"

<Directory "/usr/local/smokeping">

AllowOverride None

Options All

AddHandler cgi-script .fcgi .cgi

Order allow,deny

Allow from all

DirectoryIndex smokeping.fcgi

</Directory>

OFF

cd /usr/local/smokeping/lib/Smokeping/

rm -rf Graphs.pm

wget http://zabbix.idc02.369cloud.com/base/Graphs.pm

echo "/usr/local/smokeping/bin/smokeping --logfile=/var/log/smokeping.log 2>&1 &" >> /etc/rc.local

/usr/local/smokeping/bin/smokeping --logfile=/var/log/smokeping.log 2>&1 &

service httpd restart

时间: 2024-11-23 20:10:31

smokeping 安装的相关文章

最基础的 ubuntu smokeping安装

ubuntu 14.04 安装 smokeping 安装smokeping及其依赖包$ sudo apt-get install smokeping curl libauthen-radius-perl libnet-ldap-perl libnet-dns-perl libio-socket-ssl-perl libnet-telnet-perl libsocket6-perl libio-socket-inet6-perl apache2 配置apache cd /etc/apache2/c

CentOS6 smokeping安装配置

smokeping安装部署文档: 下载smokeping http://oss.oetiker.ch/smokeping/pub/smokeping-2.6.11.tar.gz 安装第三方源 rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 安装依赖包 yum -y install perl perl-Net-Telnet perl-Net-DNS perl-LDAP perl-libwww-perl perl-RadiusPerl perl

Smokeping安装教程

#Smokeping2.6.8安装教程 #2016.3.6 改编v1.0 #Linux运维技术交流 347163978 环境 CentOS release 6.4 (Final) kernel 2.6.32-358.el6.x86_64  x86_64 软件下载 http://pan.baidu.com/s/1kTTbnpH ftp://195.220.108.108/linux/epel/6/x86_64/ 1.换源163和epel http://user.qzone.qq.com/12615

网络检测工具smokeping安装配置

smokeping是MRTG和RRDtool作者Tobi Oetiker的作品,主要用于对IDC网络质量,稳定性等做检测,主要功能包括常规的ping,dig,echoping,curl等,依赖rrdtool来画图.选择smokeping我觉得有以下原因: 1,最佳的画图功能,延迟和丢包用颜色和阴影表示很直观. 2,免费和开源. 3,支持主从的分布式模式. 4,可以自定义报警功能. smokeping官方网站:http://oss.oetiker.ch/smokeping/ 如下安装配置的系统为:

smokeping安装与插件使用

一.以防止安装依赖出错,首先给系统安装第三方源:rpm -Uvh http://apt.sw.be/redhat/e16/en/X86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.e16.rf.x86_64.rpm 二.安装lamp环境和rrdtool图形处理及其他所需依赖库: yum -y install perl perl-Net-Telnet perl-Net-DNS perl-LDAP perl-libwww-perl perl-RadiusPer

SmokePing安装手册

SmokePing安装部署 SmokePing简介 Smokeping是一款用于网络性能监测的开源监控软件,主要用于对IDC的网络状况,网络质量,稳定性等做检测,通过rrdtool制图方式,图形化地展示网络的时延情况,进而能够清楚的判断出网络的即时通信情况. SmokePing的特点 SmokePing keeps track of your network latency: Best of breed latency visualisation.(最佳图形展示功能,延时丢包等可以很直观的可视化

Smokeping安装

系统centos6.X 1.配置固定IP地址 2.关闭iptables 3.关闭selinux 4.安装其他yum源 rpm -Uvh http://ftp.pbone.net/mirror/apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 5.安装依赖包 yum -y install perl perl-Net-Telnet perl-Net-DNS perl-LDAP

centos6 smokeping安装

Smokeping 是一款用于网络性能监测的监控软件,通过它可以在自己公司IDC的网络状况,如延时,丢包率,是否BGP多线等,通过rrdtool制图方式,图形化地展示网络的时延情况,进而能够清楚的判断出网络的即时通信情况, 实验环境 centos6.5_x64 实验软件 echoping-6.0.2.tar.gz fping-3.10.tar.gz smokeping-2.6.9.tar.gz 软件安装 yum clean all yum makecache -y yum install -y

CentOS 6.5 下 Smokeping 安装

Smokeping 是一款用于网络性能监测的监控软件,通过它可以在自己公司IDC的网络状况,如延时,丢包率,是否BGP多线等,通过rrdtool制图方式,图形化地展示网络的时延情况,进而能够清楚的判断出网络的即时通信情况, Smokeping 需要多个包的支持,下面我们逐个安装,这里通过yum和编译安装两种方式.(有内置yum包直接yum,没有的编译安装) yum install -y perl perl-Net-Telnet perl-Net-DNS perl-LDAP perl-libwww