*** 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 p_w_picpaths.
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
文章名称:smokeping配置文件
文章起源:
http://njwzjz.com/article/gocheo.html