安装参见:
 https://github.com/oetiker/SmokePing/blob/master/doc/smokeping_install.pod 1 Smokeping *** General *** owner = Ctry
contact = admin@lerry.com
mailhost = 127.0.0.1
sendmail = /sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /usr/local/smokeping/cache
imgurl = cache
datadir = /usr/local/smokeping/data
piddir = /usr/local/smokeping/var
cgiurl = http://1.1.1.1/smokeping/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail.dist
tmail = /usr/local/smokeping/etc/tmail.dist
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no *** Alerts ***
to = admin@lerry.com
from = smokeping@lerry.com +someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times in a row *** Database *** step = 60
pings = 20 # consfn mrhb steps total AVERAGE 0.5 1 1008
AVERAGE 0.5 12 4320
MIN 0.5 12 4320
MAX 0.5 12 4320
AVERAGE 0.5 144 720
MAX 0.5 144 720
MIN 0.5 144 720 *** Presentation ***
charset = utf-8 # 支持显示中文的树状图以及rrdtool画出的图显示中文 template = /usr/local/smokeping/etc/basepage.html.dist + charts menu = Charts
title = The most interesting destinations ++ stddev
sorter = StdDev(entries=>4)
title = Top Standard Deviation
menu = Std Deviation
format = Standard Deviation %f ++ max
sorter = Max(entries=>5)
title = Top Max Roundtrip Time
menu = by Max
format = Max Roundtrip Time %f seconds ++ loss
sorter = Loss(entries=>5)
title = Top Packet Loss
menu = Loss
format = Packets Lost %f ++ median
sorter = Median(entries=>5)
title = Top Median Roundtrip Time
menu = by Median
format = Median RTT %f seconds + overview width = 1000
height = 200
range = 10h + detail width = 1000
height = 200
unison_tolerance = 2 "Last 2 Hours" 2h
"Last 24 Hours" 24h
"Last 7 Days" 7d
"Last 30 Days" 30d
"Last 365 Days" 365d
"Last 4 Years" 4y #+ hierarchies
#++ owner
#title = Host Owner
#++ location
#title = Location *** Probes *** + FPing binary = /usr/sbin/fping *** Slaves ***
secrets=/usr/local/smokeping/etc/smokeping_secrets.dist
+boomer
display_name=boomer
color=0000ff +slave2
display_name=another
color=00ff00 *** Targets *** probe = FPing menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of HaiZhi Company. \
Here you will learn all about the latency of our network. + Unicom menu = 各地网络连通性监控
title = 监控统计 ++ Telecom
menu = 电信网络监控
title = 电信网络监控列表
host = /Unicom/Telecom/telecom-xian /Unicom/Telecom/telecom-shanghai /Unicom/Telecom/telecom-sichuan /Unicom/Telecom/telecom-shenzhen /Unicom/Telecom/telecom-zhejiang /Unicom/Telecom/telecom-changsha /Unicom/Telecom/telecom-wuhan /Unicom/Telecom/telecom-jiangsu /Unicom/Telecom/telecom-chongqing /Unicom/Telecom/telecom-fujian /Unicom/Telecom/telecom-neimeng /Unicom/Telecom/telecom-xinjiang /Unicom/Telecom/telecom-guizhou /Unicom/Telecom/telecom-tianjin /Unicom/Telecom/telecom-hubei /Unicom/Telecom/telecom-beijing +++ telecom-xian
menu = 西安电信
title = 西安电信
alerts = someloss
host = 61.150.91.55 +++ telecom-shanghai
menu = 上海电信
title = 上海电信
alerts = someloss
host = 180.169.22.226 +++ telecom-sichuan
menu = 四川电信
title = 四川电信
alerts = someloss
host = 211.149.224.160 +++ telecom-shenzhen
menu = 深圳电信
title = 深圳电信
alerts = someloss
host = 183.63.53.120 +++ telecom-zhejiang
menu = 浙江电信
title = 浙江电信
alerts = someloss
host = 122.226.223.82 +++ telecom-changsha
menu = 长沙电信
title = 长沙电信
alerts = someloss
host = 124.232.150.171 +++ telecom-wuhan
menu = 武汉电信
title = 武汉电信
alerts = someloss
host = 59.173.18.243 +++ telecom-jiangsu
menu = 江苏电信
title = 江苏电信
alerts = someloss
host = 58.215.186.208 +++ telecom-chongqing
menu = 重庆电信
title = 重庆电信
alerts = someloss
host = 219.153.71.238 +++ telecom-fujian
menu = 福建电信
title = 福建电信
alerts = someloss
host = 218.6.9.4 +++ telecom-neimeng
menu = 内蒙电信
title = 内蒙电信
alerts = someloss
host = 101.53.100.113 +++ telecom-xinjiang
menu = 乌鲁木齐电信
title = 乌鲁木齐电信
alerts = someloss
host = 124.119.87.204 +++ telecom-guizhou
menu = 贵州电信
title = 贵州电信
alerts = someloss
host = 222.87.128.7 +++ telecom-tianjin
menu = 天津电信
title = 天津电信
alerts = someloss
host = 221.238.254.118 +++ telecom-hubei
menu = 十堰电信
title = 十堰电信
alerts = someloss
host = 61.183.41.197 +++ telecom-beijing
menu = 北京电信
title = 北京电信
alerts = someloss
host = 119.90.3.2 ++ Mobile
menu = 移动网络监控
title = 移动网络监控列表
host = /Unicom/Mobile/mobile-zhejiang /Unicom/Mobile/mobile-shanghai /Unicom/Mobile/mobile-tianjin /Unicom/Mobile/mobile-jinan /Unicom/Mobile/mobile-beijing /Unicom/Mobile/mobile-suzhou /Unicom/Mobile/mobile-wuhan /Unicom/Mobile/mobile-shenyang /Unicom/Mobile/mobile-quanzhou /Unicom/Mobile/mobile-xiamen +++ mobile-zhejiang
menu = 浙江移动
title = 浙江移动
alerts = someloss
host = 211.140.143.3 +++ mobile-shanghai
menu = 上海移动
title = 上海移动
alerts = someloss
host = 117.135.137.82 +++ mobile-tianjin
menu = 天津移动
title = 天津移动
alerts = someloss
host = 117.131.207.163 +++ mobile-jinan
menu = 济南移动
title = 济南移动
alerts = someloss
host = 223.99.238.104 +++ mobile-beijing
menu = 北京移动
title = 北京移动
alerts = someloss
host = 111.13.56.26 +++ mobile-suzhou
menu = 苏州移动
title = 苏州移动
alerts = someloss
host = 112.25.230.238 +++ mobile-wuhan
menu = 武汉移动
title = 武汉移动
alerts = someloss
host = 111.47.111.229 +++ mobile-shenyang
menu = 沈阳移动
title = 沈阳移动
alerts = someloss
host = 223.100.7.69 +++ mobile-quanzhou
menu = 泉州移动
title = 泉州移动
alerts = someloss
host = 112.5.16.13 +++ mobile-xiamen
menu = 厦门移动
title = 厦门移动
alerts = someloss
host = 218.207.194.109 ++ Unicom
menu = 联通网络监控
title = 联通网络监控列表
host = /Unicom/Unicom/unicom-dalian /Unicom/Unicom/unicom-beijing /Unicom/Unicom/unicom-jinan /Unicom/Unicom/unicom-shanghai /Unicom/Unicom/unicom-henan /Unicom/Unicom/unicom-heilongjiang /Unicom/Unicom/unicom-tianjin /Unicom/Unicom/unicom-shijiazhuang /Unicom/Unicom/unicom-taiyuan +++ unicom-dalian
menu = 大连联通
title = 大连联通
alerts = someloss
host = 218.61.8.10 +++ unicom-beijing
menu = 北京联通
title = 北京联通
alerts = someloss
host = 118.186.222.66 +++ unicom-jinan
menu = 济南联通
title = 济南联通
alerts = someloss
host = 124.133.28.7 +++ unicom-shanghai
menu = 上海联通
title = 上海联通
alerts = someloss
host = 58.246.45.89 +++ unicom-henan
menu = 河南联通
title = 河南联通
alerts = someloss
host = 125.46.54.236 +++ unicom-heilongjiang
menu = 黑龙江联通
title = 黑龙江联通
alerts = someloss
host = 125.211.202.138 +++ unicom-tianjin
menu = 天津联通
title = 天津联通
alerts = someloss
host = 60.28.24.236 +++ unicom-shijiazhuang
menu = 石家庄联通
title = 石家庄联通
alerts = someloss
host = 110.249.209.130 +++ unicom-taiyuan
menu = 太原联通
title = 太原联通
alerts = someloss
host = 221.204.238.54

效果展示:

常见问题:

File '/usr/local/smokeping/etc/smokeping_secrets.dist' is world-readable

查看smokeping_secrets.dist文件属性是否为400,如不是请按照如下修改:
注意etc/smokeping_secrets.dist文件属性必须400
chmod 400 smokeping_secrets.dist
service smokeping restart

中文设置:

yum -y install wqy-zenhei-fonts.noarch

/usr/local/smokeping/lib/Smokeping/Graphs.pm
if ($mode =~ /[anc]/){
my $val = 0;
for my $host (@hosts){
my ($graphret,$xs,$ys) = RRDs::graph
("dummy",
'--start', $tasks[0][1],
'--end', $tasks[0][2],
'--font TITLE:20:"WenQuanYi Zen Hei Mono"',
"DEF:maxping=$cfg->{General}{datadir}${host}.rrd:median:AVERAGE",
'PRINT:maxping:MAX:%le' );
my $ERROR = RRDs::error();
return "<div>RRDtool did not understand your input: $ERROR.</div>" if $ERROR;
$val = $graphret->[0] if $val < $graphret->[0];
}

Can't locate Sys/Syslog.pm in @INC (@INC contains: /usr/local/smokeping/thirdparty/lib/perl5/x86_64-linux-thread-multi /usr/local/smokeping/thirdparty/lib/perl5 ../lib /usr/local/smokeping/thirdparty/lib/perl5//x86_64-linux-thread-multi /usr/local/smokeping/thirdparty/lib/perl5/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ../lib/smokeping.pm line 16. BEGIN failed--compilation aborted at ../lib/Smo...

yum -y install perl-Sys-Syslog

Smokeping 监控部署及配置的更多相关文章

  1. cacti监控部署与配置

    cacti是一套基于PHP,mysql,SNMP及RRDTool开发的网络流量测试图形分析工具 cacti是通过snmpget来获取数据,使用RRDtool绘画图形 ,而且完全可以不需要了解RRDto ...

  2. zabbix监控-部署(一)

    zabbix之自动化监控-部署篇(一) 标签(空格分隔): linux 笔者Q:972581034 交流群:605799367.有任何疑问可与笔者或加群交流 浅谈监控 监控命令 查看硬件的温度/风扇转 ...

  3. Smokeping安装部署

    稳定性检测工具smokeping安装配置和使用方法 Smokeping介绍 是对IDC网络质量,稳定性等最好的检测工具,包括常规的 ping,dig,echoping,curl等,可以监视www服务器 ...

  4. zabbix分布式监控部署--技术流ken

    前言 zabbix proxy可以代替zabbix server检索客户端的数据,然后把数据汇报给zabbix server,并且在一定程度上分担了zabbix server的压力.zabbix pr ...

  5. Storm 系列(三)Storm 集群部署和配置

    Storm 系列(二)Storm 集群部署和配置 本章中主要介绍了 Storm 的部署过程以及相关的配置信息.通过本章内容,帮助读者从零开始搭建一个 Storm 集群. 一.Storm 的依赖组件 1 ...

  6. zabbix proxy分布式监控部署

    一.proxy分布式监控介绍 来源于zabbix官网: https://www.zabbix.com/documentation/3.4/zh/manual/distributed_monitorin ...

  7. nagios监控部署

    nagios监控部署. 在部署之前把依赖包安装了. [root@tiandong63 ~]# yum install -y gcc glibc glibc-common php gd gd-devel ...

  8. 017-zabbix_proxy分布式监控部署

    一.proxy分布式监控介绍 来源于zabbix官网: https://www.zabbix.com/documentation/3.4/zh/manual/distributed_monitorin ...

  9. Cacti+nagios 整合监控部署文档

    目录 Cacti+nagios监控部署步骤... 2 一.Cacti安装... 2 1需要安装的依赖软件包:... 2 2安装rrdtool 2 3启动数据库和httpd服务... 3 4将serve ...

随机推荐

  1. istringstream、ostringstream、stringstream 类介绍 .

    istringstream.ostringstream.stringstream 类介绍 . 转自:http://www.cnblogs.com/gamesky/archive/2013/01/09/ ...

  2. Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces

    问题解决:缺少jar包 cglib-2.1.3.jar

  3. String对象不可改变的特性

    1. 声明String对象 String s = "abcd"; 图1 2. 将一个字符串变量赋值给另一个String变量 String s2 = s; 图2 3. 字符串连接 s ...

  4. [转]ASP.NET MVC 入门4、Controller与Action

    Controller是MVC中比较重要的一部分.几乎所有的业务逻辑都是在这里进行处理的,并且从Model中取出数据.在ASP.NET MVC Preview5中,将原来的Controller类一分为二 ...

  5. 破解密码那些事儿(Hacking Secret Ciphers with Python)

    作者:Al Sweigart   我们在电视和电影里头经常能够看到黑客们兴奋的快速敲击键盘,接着毫无意义的数字就在屏幕上飞奔(比如黑客帝国).然后让大家产生了一种奇妙的错觉,做黑客是一件高大上的事情, ...

  6. bsp板级支持包

    定义 2作用 ▪ 建立让操作系统运行的基本环境  ▪ 完善操作系统运行的环境 3开发流程     1定义 板级支持包(BSP)是介于主板硬件和操作系统中驱动层程序之间的一层,一般认为它属于操作系统一部 ...

  7. Codeforces126B - Password(KMP)

    题目大意 给定一个字符串S,要求你找到一个最长的子串,它既是S的前缀,也是S的后缀,并且在S的内部也出现过(非端点) 题解 KMP的失配函数f[i]的非零值就是前i个字符的一个最长前缀且也是后缀的字符 ...

  8. 授权给adfs读取ad 在ad服务器上运行 - setspn 命令 -摘自网络

    Because the application pool identity for the AD FS 2.0 AppPool is running as a domain user/service ...

  9. hdoj 1898 Sempr == The Best Problem Solver?

    Sempr == The Best Problem Solver? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/3276 ...

  10. ios8 关于UIAlertController 代替UIActionsheet

    self.alertController=[UIAlertController alertControllerWithTitle:@"请选择\n\n\n\n\n\n\n\n\n\n\n\n\ ...