it tracks network latency

Step1. Install the epel repository

yum install epel-release

Step2. Install the packages

yum groupinstall "Development tools" perl httpd httpd-devel mod_fcgid rrdtool perl-CGI-SpeedyCGI fping rrdtool-perl perl-Sys-Syslog openssl-devel perl-CPAN perl-local-lib perl-Time-HiRes perl-core wget -y

Step3. Download the Smokeping


Step4. Untar the file

tar -xvf smokeping-2.7.3.tar.gz
cd smokeping-2.7.3/

Step5. Run the configure script

cd smokeping-2.7.3/
cp -r thirdparty /opt/smokeping/
./configure --prefix=/opt/smokeping
make install

Step6. Configure it

cd /opt/smokeping/etc
mv config.dist   config
cp /opt/smokeping/etc/basepage.html.dist   /opt/smokeping/etc/basepage.html

vi /opt/smokeping/etc/config
 owner    = your owner name
 contact  = root@localhost
 imgcache = /var/www/smokeping/cache
 cgiurl   =

Step7. Create directories

mkdir /opt/smokeping/data
mkdir /opt/smokeping/var
mkdir /var/www/smokeping
mkdir /var/www/smokeping/cache

Step8. Copy/rename the directories

cp -R /opt/smokeping/htdocs/* /var/www/smokeping
mv /var/www/smokeping/smokeping.fcgi.dist /var/www/smokeping/smokeping.fcgi

Step9. Change ownership/permission

chown -R apache:apache /var/www/smokeping
chmod 600 /opt/smokeping/etc/smokeping_secrets.dist

Step10. Create a virtual host file

vi /etc/httpd/conf.d/smokeping.conf

Alias /smokeping "/var/www/smokeping"
<Directory /var/www/smokeping>
Options Indexes FollowSymLinks MultiViews ExecCGI
 AllowOverride All
 Order allow,deny
 Allow from all
 DirectoryIndex smokeping.fcgi

Step11. Start/enable the service

systemctl restart httpd

Step12. Disable the SELinux

setenforce 0

Step13. Start the Smokeping Daemon

./bin/smokeping --config=/opt/smokeping/etc/config –debug

To daemonize smokeping, execute following command
./bin/smokeping --config=/opt/smokeping/etc/config --logfile=smoke.log

Step14. Access via browser



Please enter your comment!
Please enter your name here