First we need to disable SELinux for temporary.

setenforce 0

Step 1 Install rpmforge.

yum install

Step 2 Install required packages.

yum install mod_fcgid httpd httpd-devel rrdtool fping wget curl bind-utils gcc make

Step 3 Install more packages.

yum install perl perl-Net-Telnet perl-Net-DNS perl-LDAP perl-libwww-perl perl-RadiusPerl perl-IO-Socket-SSL perl-Socket6 perl-CGI-SpeedyCGI perl-FCGI perl-RRD-Simple perl-CGI-SpeedCGI perl-ExtUtils-MakeMaker

Install Apache HTTP Server and Open port 80. Apache HTTP

yum install httpd
chkconfig --levels 235 httpd on
service httpd start

Open Port 80 on iptables

nano -w /etc/sysconfig/iptables

input following configuration #web-service

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT

Press Ctrl+x then y for save and exit.

Restart iptables

service iptables restart

Step 4 Install smokeping

tar -zxvf smokeping-2.6.8.tar.gz -C /opt/
mkdir /opt/smokeping
cd /opt/smokeping-2.6.9/setup
cp -r ../thirdparty /opt/smokeping/
cd ..
./configure --prefix=/opt/smokeping
make install
  • You should check on smokeping website for the latest version.

Step 5 Create missing folders

cd /opt/smokeping
mkdir data
mkdir var

Step 6 Add smokeping start/stop script

mv smokeping_start_stop.txt /etc/init.d/smokeping
chmod 755 /etc/init.d/smokeping

Configuring smokeping. Step 7 Rename config files and change security

cd /opt/smokeping/etc/
for foo in *.dist; do cp $foo `basename $foo .dist`; done
chmod 600 /opt/smokeping/etc/smokeping_secrets.dist

Step 8 Change the default config files

nano config

Step 9 Copy smokeping files into the webserver

cp -r /opt/smokeping/htdocs/cropper /var/www/cgi-bin/
cp /opt/smokeping/htdocs/smokeping.fcgi.dist /var/www/cgi-bin/smokeping.fcgi
cd /var/www/html/
mkdir cache
chown apache cache
ln -s /var/www/html/cache /opt/smokeping/cache

Step 10 Start smokeping

/etc/init.d/httpd start
/etc/init.d/smokeping start

Step 11 Expect the worst hope for the best If there are no error message you are in a very good position. You can now browse to the webpage you configure in the config file cgiurl = http://(IP or Hostname) /cgi-bin/smokeping.fcgi.

Step 12 Add your own host in the config file

nano -w /opt/smokeping/etc/config

Press Ctrl+w search word “Targets” and add host here.

Example add host

probe = FPing
menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing. \
Here you will learn all about the latency of our network.
+ Test
menu = Test
title = Test
++ Site1
menu =  Site1
title =  Site1
host =  site1.your.domian
menu = site2
title = site2
host = site2.your.domian

(Note symbol (+,++) » + Group Host ,++ Sub group host for ping )

Step 13 Restart smokeping After changing the config file, it is important to restart smokeping with this command:

/etc/init.d/smokeping restart

Step 14 Clean installation files

rm -rf /opt/smokeping-2.6.9

Step 15 Enable smokeping and httpd service to start automatically on reboot

chkconfig --add smokeping
chkconfig httpd on
chkconfig smokeping on

That it’s.