smokeping配置文件 发表于 2018-04-25 | 分类于 Linux , Smokeping | | 本文总阅读量 次 这里我根据目前公司的业务需求定制了两栏网络的监控项,用于对目前的几个主要的国外服务器进行监听和把控。(涉及地区:中国,韩国,越南,新马等) 1 国内三大运营商网络123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360*** General ***owner = Ctrycontact = admin@lerry.commailhost = 127.0.0.1sendmail = /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/cacheimgurl = cachedatadir = /usr/local/smokeping/datapiddir = /usr/local/smokeping/varcgiurl = http://1.1.1.1/smokeping/smokeping.cgismokemail = /usr/local/smokeping/etc/smokemail.disttmail = /usr/local/smokeping/etc/tmail.dist# specify this to get syslog loggingsyslogfacility = local0# each probe is now run in its own process# disable this to revert to the old behaviour# concurrentprobes = no*** Alerts ***to = admin@lerry.comfrom = smokeping@lerry.com+somelosstype = loss# in percentpattern = >0%,*12*,>0%,*12*,>0%comment = loss 3 times in a row*** Database ***step = 60pings = 20# consfn mrhb steps totalAVERAGE 0.5 1 1008AVERAGE 0.5 12 4320 MIN 0.5 12 4320 MAX 0.5 12 4320AVERAGE 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+ chartsmenu = Chartstitle = The most interesting destinations++ stddevsorter = StdDev(entries=>4)title = Top Standard Deviationmenu = Std Deviationformat = Standard Deviation %f++ maxsorter = Max(entries=>5)title = Top Max Roundtrip Timemenu = by Maxformat = Max Roundtrip Time %f seconds++ losssorter = Loss(entries=>5)title = Top Packet Lossmenu = Lossformat = Packets Lost %f++ mediansorter = Median(entries=>5)title = Top Median Roundtrip Timemenu = by Medianformat = Median RTT %f seconds+ overviewwidth = 1000height = 200range = 10h+ detailwidth = 1000height = 200unison_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 ***+ FPingbinary = /usr/sbin/fping*** Slaves ***secrets=/usr/local/smokeping/etc/smokeping_secrets.dist+boomerdisplay_name=boomercolor=0000ff+slave2display_name=anothercolor=00ff00*** Targets ***probe = FPingmenu = Toptitle = Network Latency Grapherremark = Welcome to the SmokePing website of HaiZhi Company. \ Here you will learn all about the latency of our network.+ Unicommenu = 各地网络连通性监控title = 监控统计++ Telecommenu = 电信网络监控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-xianmenu = 西安电信title = 西安电信alerts = somelosshost = 61.150.91.55+++ telecom-shanghaimenu = 上海电信title = 上海电信alerts = somelosshost = 180.169.22.226+++ telecom-sichuanmenu = 四川电信title = 四川电信alerts = somelosshost = 211.149.224.160+++ telecom-shenzhenmenu = 深圳电信title = 深圳电信alerts = somelosshost = 183.63.53.120+++ telecom-zhejiangmenu = 浙江电信title = 浙江电信alerts = somelosshost = 122.226.223.82+++ telecom-changshamenu = 长沙电信title = 长沙电信alerts = somelosshost = 124.232.150.171+++ telecom-wuhanmenu = 武汉电信title = 武汉电信alerts = somelosshost = 59.173.18.243+++ telecom-jiangsumenu = 江苏电信title = 江苏电信alerts = somelosshost = 58.215.186.208+++ telecom-chongqingmenu = 重庆电信title = 重庆电信alerts = somelosshost = 219.153.71.238+++ telecom-fujianmenu = 福建电信title = 福建电信alerts = somelosshost = 218.6.9.4+++ telecom-neimengmenu = 内蒙电信title = 内蒙电信alerts = somelosshost = 101.53.100.113+++ telecom-xinjiangmenu = 乌鲁木齐电信title = 乌鲁木齐电信alerts = somelosshost = 124.119.87.204+++ telecom-guizhoumenu = 贵州电信title = 贵州电信alerts = somelosshost = 222.87.128.7+++ telecom-tianjinmenu = 天津电信title = 天津电信alerts = somelosshost = 221.238.254.118+++ telecom-hubeimenu = 十堰电信title = 十堰电信alerts = somelosshost = 61.183.41.197+++ telecom-beijingmenu = 北京电信title = 北京电信alerts = somelosshost = 119.90.3.2++ Mobilemenu = 移动网络监控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-zhejiangmenu = 浙江移动title = 浙江移动alerts = somelosshost = 211.140.143.3+++ mobile-shanghaimenu = 上海移动title = 上海移动alerts = somelosshost = 117.135.137.82+++ mobile-tianjinmenu = 天津移动title = 天津移动alerts = somelosshost = 117.131.207.163+++ mobile-jinanmenu = 济南移动title = 济南移动alerts = somelosshost = 223.99.238.104+++ mobile-beijingmenu = 北京移动title = 北京移动alerts = somelosshost = 111.13.56.26+++ mobile-suzhoumenu = 苏州移动title = 苏州移动alerts = somelosshost = 112.25.230.238+++ mobile-wuhanmenu = 武汉移动title = 武汉移动alerts = somelosshost = 111.47.111.229+++ mobile-shenyangmenu = 沈阳移动title = 沈阳移动alerts = somelosshost = 223.100.7.69+++ mobile-quanzhoumenu = 泉州移动title = 泉州移动alerts = somelosshost = 112.5.16.13+++ mobile-xiamenmenu = 厦门移动title = 厦门移动alerts = somelosshost = 218.207.194.109++ Unicommenu = 联通网络监控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-dalianmenu = 大连联通title = 大连联通alerts = somelosshost = 218.61.8.10+++ unicom-beijingmenu = 北京联通title = 北京联通alerts = somelosshost = 118.186.222.66+++ unicom-jinanmenu = 济南联通title = 济南联通alerts = somelosshost = 124.133.28.7+++ unicom-shanghaimenu = 上海联通title = 上海联通alerts = somelosshost = 58.246.45.89+++ unicom-henanmenu = 河南联通title = 河南联通alerts = somelosshost = 125.46.54.236+++ unicom-heilongjiangmenu = 黑龙江联通title = 黑龙江联通alerts = somelosshost = 125.211.202.138+++ unicom-tianjinmenu = 天津联通title = 天津联通alerts = somelosshost = 60.28.24.236+++ unicom-shijiazhuangmenu = 石家庄联通title = 石家庄联通alerts = somelosshost = 110.249.209.130+++ unicom-taiyuanmenu = 太原联通title = 太原联通alerts = somelosshost = 221.204.238.54 2 GZNEMO部分机房12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970+ GZNEMOmenu = 广州小丑鱼title = 网络监控########## 中国地区 ##########++ Chinamenu = 中国网络监控title = 中国网络监控列表host = /GZNEMO/China/CN-Center+++ CN-Centermenu = 国内管理机_S3title = 国内管理机_S3alerts = somelosshost = ########## 韩国地区 ##########++ Koreamenu = 韩国网络监控title = 韩国网络监控列表host = /GZNEMO/Korea/KR-Center /GZNEMO/Korea/KK-Center+++ KR-Centermenu = 韩国管理机_S3title = 韩国管理机_S3alerts = somelosshost = +++ KK-Centermenu = 韩国Kakao管理机_S3title = 韩国Kakao管理机_S3alerts = somelosshost = ########## 越南地区 ##########++ Vietnammenu = 越南网络监控title = 越南网络监控列表host = /GZNEMO/Vietnam/VN-Center+++ VN-Centermenu = 越南管理机_S3title = 越南管理机_S3alerts = somelosshost = ########## 新马地区 ##########++ Singaporemenu = 新马网络监控title = 新马网络监控列表host = /GZNEMO/Singapore/XM-Center+++ XM-Centermenu = 新马管理机_S3title = 新马管理机_S3alerts = somelosshost = ########## 台湾地区 ##########++ Taiwanmenu = 台湾网络监控title = 台湾网络监控列表host = /GZNEMO/Taiwan/TW-Center+++ TW-Centermenu = 台湾管理机_S3title = 台湾管理机_S3alerts = somelosshost = -------------本文结束 感谢您的阅读-------------