In network and system administration profession, it is very important to monitor your infrastructure. Smokeping is one of the best open source icmp/ping monitoring and latency monitoring server. It shows historical data of packet loss, high latency of a network device.
It is very easy to deploy. Today we will see the step by step installation process of smokeping server in Ubuntu operating system
Minimum Installation Requirement:
HDD – 30 GB
RAM – 4 GB
UBUNTU – 20.04 LTS
IP address – Static
Hostname – www.example.com
Install smokeping on Ubuntu
Install a fresh Ubuntu OS in the VM.
Set hostname as per convenience. (I used www.example.com)
Update existing packages.
Upgrade existing packages
Install packages and dependencies for smokeping packages as shown below:
root@www:~# apt install smokeping -y
We need to modify some configuration as shown below:
root@www:~# vi /etc/smokeping/config.d/pathnames
root@www:~# vim /etc/smokeping/config.d/General
Now we will restart apache & smokeping services
Now check the smokeping service in the web bowser :
We will add nodes for the monitoring purpose.
root@www:/home/bolcorp# vim /etc/smokeping/config.d/Targets
menu = Internet
#title = Internet
menu = Google
title = Google DNS
host = 18.104.22.168
Now restart all services again.
root@www:/home/bolcorp# service apache2 restart
root@www:/home/bolcorp# service smokeping restart
Now, we will check the smokeping in the browser:
[It takes 5-10 Minutes to update the graph.]
Smokeping becomes useful we need to check the link’s status towards certain destination as it shows periodic data. We will get back you with another monitoring tool in our next article.
Thanks for your time.
See Other topic about Monitoring tools on https://unixcop.com/?s=Monitoring+