Easy installation of smokeping monitoring tool in Ubuntu 20.04 LTS

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Introduction

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 :
http://192.168.1.105/cgi-bin/smokeping.cgi

We will add nodes for the monitoring purpose.

root@www:/home/bolcorp# vim /etc/smokeping/config.d/Targets

+ Internet
menu = Internet
#title = Internet

++ Google
menu = Google
title = Google DNS
host = 8.8.8.8

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:
http://192.168.1.105/cgi-bin/smokeping.cgi

[It takes 5-10 Minutes to update the graph.]

Conclusion:

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+

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Mel
Melhttps://unixcop.com
Unix/Linux Guru and FOSS supporter

3 COMMENTS

  1. You should not use the direct cgi path (http://192.168.1.105/cgi-bin/smokeping.cgi) in the URL but just the site name http://192.168.1.105/smokeping anyway Apache does not find the scripts and css files.

    More details : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929515

  2. Hey, good article, nice job! Have any info on setting up a slave smoke pint that can sit on an internal network from the master? The authors documentation is pretty meager??

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook