设为首页 收藏本站
查看: 1106|回复: 0

[经验分享] smokeping配置文件

[复制链接]

尚未签到

发表于 2019-1-17 11:14:22 | 显示全部楼层 |阅读模式
*** General ***
owner    = Peter Random
contact  = some@address.nowhere
mailhost = my.mail.host
sendmail = /usr/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 = /var/www/html/smokeping/img
imgurl   = http://122.13.212.180/smokeping/img
datadir  = /usr/local/smokeping/data
piddir  = /usr/local/smokeping/var
cgiurl   = http://122.13.212.180/smokeping/smokeping.fcgi
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 = alertee@address.somewhere
from = smokealert@company.xy
+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times  in a row
*** Database ***
step     = 300
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 ***
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 = 600
height = 50
range = 10h
+ detail
width = 600
height = 200
unison_tolerance = 2
"Last 3 Hours"    3h
"Last 30 Hours"   30h
"Last 10 Days"    10d
"Last 400 Days"   400d
#+ hierarchies
#++ owner
#title = Host Owner
#++ location
#title = Location
*** Probes ***
+ FPing
binary = /usr/local/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 xxx Company. \
         Here you will learn all about the latency of our network.
+ Test
menu= Targets
#parents = owner:/Test/James location:/
++ James
menu = James
title =James
alerts = someloss
slaves = boomer slave2
host = james.address
++ MultiHost
menu = Multihost
title = James and James as seen from Boomer
host = /Test/James /Test/James~boomer
+ LT
menu=LT
title=LT Network
++ LT-BEIJING_1
menu = TO-LT-BEIJING
title = TO-LT-BEIJING:61.50.205.1
host = 61.50.205.1
++ LT-BEIJING_2
menu = TO-LT-BEIJING
title = TO-LT-BEIJING:114.112.161.254
host = 114.112.161.254
++ LT-TIANJIN_1
menu = TO-LT-TIANJIN
title = TO-LT-TIANJIN:60.24.208.1
host = 60.24.208.1
++ LT-TIANJIN_2
menu = TO-LT-TIANJIN
title = TO-LT-TIANJIN:117.8.1.130
host = 117.8.1.130
++ LT-HEBEI_1
menu = TO-LT-HEBEI-shijiazhuang
title = TO-LT-HEBEI-shijiazhuang:61.182.3.1
host = 61.182.3.1
++ LT-HEBEI_2
menu = TO-LT-HEBEI-shijiazhuang
title = TO-LT-HEBEI-shijiazhuang:121.29.241.1
host = 121.29.241.1
++ LT-HENAN_1
menu = TO-LT-HENAN-zhengzhou
title = TO-LT-HENAN-zhengzhou:218.28.2.1
host = 218.28.2.1
++ LT-HENAN_2
menu = TO-LT-HENAN-zhengzhou
title = TO-LT-HENAN-zhengzhou:61.52.0.1
host = 61.52.0.1
++ LT-HNJ_Qiqihaer
menu =  TO-LT-HNJ_Qiqihaer
title = TO-LT-HNJ_Qiqihaer:113.8.0.1
host = 113.8.0.1
++ LT-HNJ_Haerbin
menu =  TO-LT-HNJ_Haerbin
title = TO-LT-HNJ_Haerbin=221.212.0.1
host = 221.212.0.1
++ LT-JiLing_1
menu =  TO-LT-JiLing_Jining
title = TO-LT-JiLing_Jining:218.27.135.1
host = 218.27.135.1
++ LT-JiLing_2
menu =  TO-LT-JiLing-Changchun
title = TO-LT-JiLing-Changchun:125.32.0.1
host = 125.32.0.1
++  LT-LiaoNing_1
menu =  TO-LT-LiaoNing_Fushun
title = TO-LT-LiaoNing_Fushun:61.137.128.1
host = 61.137.128.1
++ LT-LiaoNing_2
menu =  TO-LT-LiaoNing_Shenyang
title = TO-LT-LiaoNing_Shenyang:116.2.80.1
host = 116.2.80.1
++ LT-SHANGHAI_1
menu = TO-LT-SHANGHAI
title = TO-LT-SHANGHAI:211.95.1.97
host = 211.95.1.97
++ LT-SHANGHAI_2
menu = TO-LT-SHANGHAI
title = TO-LT-SHANGHAI:202.112.26.34
host = 202.112.26.34
++ LT-JiangSu_1
menu =  To-LT-JiangSu_Yanchen
title = To-LT-JiangSu_Yanchen:58.240.6.1
host = 58.240.6.1
++ LT-JiangSu_2
menu =  To-LT-JiangSu_Nanjin
title = To-LT-JiangSu_Nanjin:221.6.0.1
host = 221.6.0.1
++ LT-ZheJiang_1
menu =  To-LT-ZheJiang_Ninbao
title = To-LT-ZheJiang_Ninbao:60.12.1.65
host = 60.12.1.65
++ LT-ZheJiang_2
menu =  To-LT-ZheJiang__Hangzhou
title = To-LT-ZheJiang_Hangzhou:221.12.28.129
host = 221.12.28.129
++ LT-FuJian_1
menu =  To-LT-FuJian_Zhangzhou
title = To-LT-FuJian_Zhangzhou:112.109.128.1
host = 112.109.128.1
++ LT-FuJian_2
menu =  To-LT-FuJian_Fuzhou
title = To-LT-FuJian_Fuzhou:218.106.159.255
host = 218.106.159.255
++ LT-JiangXi_1
menu =  To-LT-JiangXi_Nanchang
title = To-LT-JiangXi_Nanchang:58.17.0.1
host = 58.17.0.1
++ LT-JiangXi_2
menu =  To-LT-JiangXi_Nanchang
title = To-LT-JiangXi_Nanchang:58.17.2.255
host = 58.17.2.255
++ LT-Hefei_1
menu =  To-LT-Anhui_Hefei
title = To-LT-Anhui_Hefei:58.242.0.1
host = 58.242.0.1
++ LT-Hefei_2
menu =  To-LT-Anhui_Hefei
title = To-LT-Anhui_Hefei:112.122.0.1
host = 112.122.0.1
++ LT-SHANDONG_1
menu = TO-LT-SHANDONG-jinan
title = TO-LT-SHANDONG-jinan:124.128.40.150
host = 124.128.40.150
++ LT-SHANDONG_2
menu = TO-LT-SHANDONG-qingdao
title = TO-LT-SHANDONG-qingdao:124.129.0.10
host = 124.129.0.10
++ LT-GuangDdong_1
menu =  To-LT-GuangDong_Fuoshan
title = To-LT-GuangDong_Fuoshan:27.36.0.1
host = 27.36.0.1
++ LT-GuangDdong_2
menu =  To-LT-GuangDong_Guangzhou
title = To-LT-GuangDong_Guangzhou:59.41.253.1
host = 59.41.253.1
++ LT-GuangXi_1
menu =  To-LT-GuangXi_Nanning
title = To-LT-GuangXi_Nanning:182.88.0.1
host = 182.88.0.1
++ LT-GuangXi_2
menu =  To-LT-GuangXi_Nanning
title = To-LT-GuangXi_Nanning:221.7.128.1
host = 221.7.128.1
++ LT-HuNan_1
menu =  To-LT-HuNan_Changsha
title = To-LT-HuNan_Changsha:58.20.0.1
host = 58.20.0.1
++ LT-HuNan_2
menu =  To-LT-HuNan_Changde
title = To-LT-HuNan_Changde:220.248.177.255
host = 220.248.177.255
++ LT-HuBei_1
menu =  To-LT-HuBei_Wuhan
title = To-LT-HuBei_Wuhan:119.36.0.1
host = 119.36.0.1
++ LT-HuBei_2
menu =  To-LT-HuBei_Wuhan
title = To-LT-HuBei_Wuhan:183.92.0.1
host = 183.92.0.1
++ LT-ChongQing_1
menu =  To-LT-ChongQing
title = To-LT-ChongQing:27.8.0.1
host = 27.8.0.1
++ LT-ChongQing_2
menu =  To-LT-ChongQing
title = To-LT-ChongQing:123.144.0.1
host = 123.144.0.1
++ LT-SiChuang_1
menu =  To-LT-SiChuang_Leijiang
title = To-LT-SiChuang_Leijiang:112.192.0.1
host = 112.192.0.1
++ LT-SiChuang_2
menu =  To-LT-SiChuang_Chendu
title = To-LT-SiChuang_Chendu:218.104.200.89
host = 218.104.200.89
++ LT-GuiZhou_1
menu =  To-LT-GuiZhou_Guiyang
title = To-LT-GuiZhou_Guiyang:58.16.1.1
host = 58.16.1.1
++ LT-GuiZhou_2
menu =  To-LT-GuiZhou_Qiannanzhou
title = To-LT-GuiZhou_Qiannanzhou:111.85.0.1
host = 111.85.0.1
++ LT-YunNan_1
menu = To-LT-YunNan_Qujing
title = To-LT-YunNan_Qujing:180.129.128.1
host = 180.129.128.1
++  LT-YunNan_2
menu =  To-LT-YunNan_Kuming
title = To-LT-YunNan_Kuming:220.163.127.162
host = 220.163.127.162
++ LT-QingHai_1
menu =  To-LT-QingHai_CU
title = To-LT-QingHai_CU:175.184.128.1
host = 175.184.128.1
++ LT-QingHai_2
menu =  To-LT-QingHai_Xining
title = To-LT-QingHai_Xining:221.207.1.1
host = 221.207.1.1
++  LT-GanSu_1
menu =  To-LT-GanSu_Lanzhou
title = To-LT-GanSu_Lanzhou:115.85.192.1
host = 115.85.192.1
++  LT-GanSu_2
menu =  To-LT-GanSu_Lanzhou
title = To-LT-GanSu_Lanzhou:180.95.128.1
host = 180.95.128.1
++ LT_NingXia_1
menu =  To-LT-NingXia_Yinchuan
title = To-LT-NingXia_Yinchuan:221.199.10.1
host = 221.199.10.1
++ LT_NingXia_2
menu =  To-LT-NingXia_Yinchuan
title = To-LT-NingXia_Yinchuan:221.199.10.1
host = 221.199.10.1
++ LT-Shanxi_1
menu =  To-LT-Shanxi_Xian
title = To-LT-Shanxi_Xian:221.11.1.1
host = 221.11.1.1
++ LT-Shanxi_2
menu =  To-LT-Shanxi_Xian
title = To-LT-Shanxi_Xian:221.11.1.1
host = 221.11.1.1
++ LT-ShanXi_SX_1
menu =  To-LT-ShanXi_Datong
title = To-LT-ShanXi_Datong:118.72.0.1
host = 118.72.0.1
++ LT-ShanXi_SX_2
menu =  To-LT-ShanXi_Taiyuan
title = To-LT-ShanXi_Taiyuan:221.204.140.1
host = 221.204.140.1
+ GZ
menu=GZ
title=GZ Network
alerts = someloss
++ DX-GuangZhou-Yatai_1
menu =  To-DX-GuangZhou-Yatai
title = To-DX-GuangZhou-Yatai:121.14.58.161
host = 121.14.58.161
++ LT-GuangZhou-Yatai_1
menu =  To-LT-GuangZhou-Yatai
title = To-LT-GuangZhou-Yatai:60.29.229.145
host = 60.29.229.145
++ BGP-GuangZhou-Yatai_1
menu =  To-BGP-GuangZhou-Yatai
title = To-BGP-GuangZhou-Yatai:120.132.133.225
host = 120.132.133.225
+ AL
menu=AL
title=AL Network
alerts = someloss
++ BGP-Hangzhou-Albaba
menu =  To-BGP-HangZhou-Albaba
title = To-BGP-HangZhou-Albaba:0.0.0.0
host = 0.0.0.0
+ HW
menu=HW
title=HW Network
alerts = someloss
++ HW-HongKong-ZX
    menu =  To-HW-HongKong-ZX
    title = To-HW-HongKong-ZX:0.0.0.0
    host = 0.0.0.0  





运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-664342-1-1.html 上篇帖子: Centos6.X 或64位安装smokeping 下篇帖子: centos6.5下smokeping搭建
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表