Beruflich Dokumente
Kultur Dokumente
In this article we are going to setup smokePing to keep track of our network with latency
monitoring. It can measure, store and display latency, latency distribution and packet loss. It
comes with highly configurable alerting system and live latency charts and interactive graph
explorers. Smokeping is not limited to testing just the roundtrip time of the packets. It can also
perform some task at the remote end ("probe"), like download a webpage. This will give a
combined 'picture' of web server availability and network health.
SmokePing Installation
SmokePing is an open source packets monitoring tool which comes with an easy installation and
configurations. On a fresh Ubuntu 15.04 with its minimal installation we only need to get the
basic web servers libraries as its prerequisites.
SmokePing Configuration
After we had successful installation of basic packages, we move forward to configure its
different files for monitoring hosts as follow.
Edit General Config file
root@ubuntu-15:~# vim /etc/smokeping/config.d/General
owner = Linoxide
contact = bloger.kashif@gmail.com
mailhost = localhost
# NOTE: do not put the Image Cache below cgi-bin
cgiurl = http://172.25.10.172/cgi-bin/smokeping.cgi
# specify this to get syslog logging
syslogfacility = local0
# concurrentprobes = no
@include /etc/smokeping/config.d/pathnames
Edit Pathnames file
Put the value as false for sendmail so that smoke ping can run if you are not using it.
root@ubuntu-15:~# vim /etc/smokeping/config.d/pathnames
sendmail = /bin/false
imgcache = /var/cache/smokeping/images
imgurl = ../smokeping/images
datadir = /var/lib/smokeping
piddir = /var/run/smokeping
smokemail = /etc/smokeping/smokemail
tmail = /etc/smokeping/tmail
Edit Alerts file
root@ubuntu-15:~# vim /etc/smokeping/config.d/Alerts
Heavy fluctuation of the RTT (round trip time) values also indicate that the network is
overloaded. This shows on the graph as smoke; the more smoke, the more fluctuation.
Conclusion
We have successfully setup and activate smokePing on Ubuntu by using Nginx Web Server.
SmokePing is the basic open source network latency monitoring tool that every network
administrator prefer to setup after its network setup.