https://nsrc.org/workshops/2017/caren-cndo/networking/cndo/en/labs/smokeping_install.html * root@mailx:/etc/smokeping/config.d# cat Alerts * *** Alerts *** * to = alerts@bdcom.com.bd * from = alerts@nms.bdcom.net * * +bigloss * type = loss * # in percent * pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% * comment = suddenly there is packet loss * * +someloss * type = loss * # in percent * pattern = >0%,*12*,>0%,*12*,>0% * comment = loss 3 times in a row * * +startloss * type = loss * # in percent * pattern = ==S,>0%,>0%,>0% * comment = loss at startup * * +rttdetect * type = rtt * # in milli seconds * pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 * comment = routing messed up again ? * * +hostdown * type = loss * # in percent * pattern = ==0%,==0%,==0%, ==U * comment = no reply * * +lossdetect * type = loss * # in percent * pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% * comment = suddenly there is packet loss * root@mailx:/etc/smokeping/config.d# cat General * *** General *** * * owner = BDCOM Online Ltd * contact = aminul@office.bdcom.com * #mailhost = my.mail.host * # 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. * cgiurl = http://mailx.bdcom.net/cgi-bin/smokeping.cgi * # 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 * * @include /etc/smokeping/config.d/pathnames * * root@mailx:/etc/smokeping/config.d# cat Probes * *** Probes *** * * + FPing * * binary = /usr/bin/fping * * root@mailx:/etc/smokeping/config.d# * root@mailx:/etc/smokeping/config.d# cat Targets * *** Targets *** * * probe = FPing * * menu = Top * title = BDCOM Network Latency Grapher * remark = Welcome to the SmokePing website of BDCOM Online Lt\ * Here you will learn all about the latency of our network. * * * + PUBLIC-DNS * menu = PUBLIC-DNS * title = PUBLIC-DNS * * ++ CloudflareDNS * * menu = Cloudflare DNS * title = Cloudflare DNS server * host = 1.1.1.1 * * ++ GoogleDNS * * menu = Google DNS * title = Google DNS server * host = 8.8.8.8 * * ++ MultiHost * * menu = Multihost * title = CloudflareDNS and Google DNS * host = /PUBLIC-DNS/CloudflareDNS /PUBLIC-DNS/GoogleDNS * * +DNS * menu = External DNS Check * title = DNS Latency * * ++nsrc * host = nsrc.org * ++google * host = google.com * ++bbc * host = bbc.com * ++facebook * host = facebook.com * ++aws * host = aws.amazon.com * ++upwork * host = www.upwork.com * ++devops * host = devops.com * ++azure * host = azure.microsoft.com * ++netflix * host = www.netflix.com * * * + BDCOM * * menu = BDCOM Corporate * title = BDCOM Corporate Link * * ++ Sumon-Sir-Home-P2P * menu = Sumon-Sir-Home * title = Sumon-Sir-Home * host = 210.4.67.18 * + Local * menu = Local * title = Local Network * #parents = owner:/Test/James location:/ * * ++ LocalMachine * * menu = Local Machine * title = This host * host = localhost * #alerts = someloss *