How To Install SmokePing on CentOS 6.x. By Kamoltorn Theppunya. June 15, 2013. In Network, System. First we need to disable SELinux for temporary. Setenforce 0. Need someone that can install smokeping on server running CentOS7 with DirectAdmin. Skills: Apache, Linux, UNIX See more: install cloud linux directadmin centos, smokeping centos, directadmin centos install, install smokeping centos, install directadmin centos, install centos directadmin, directadmin centos. Follow the below steps to set up SmokePing version 2.7.3 on the centos 7 machines. Yum install epel-releaseyum groupinstall “Development tools” yum install perl httpd httpd-devel modfcgid rrdtool perl-CGI-SpeedyCGI fping rrdtool-perl perl-Sys-Syslog openssl-devel perl-CPAN perl-local-lib perl-Time-HiRes perl-e wget perl-rrdtool Download latest smokeping version. Wget https://oss.oetiker.
NOTE: THIS INSTALLATION HAS BEEN TESTED TO BE WORKING WITH CENTOS 5.X – 6.x
. Ready to install Smokeping. Settings: PERL5LIB = not set PERL = /usr/bin/perl The Smokeping Makefiles use GNU make functionality. Continue installation with.
Prep your server
- Step 1: Disable SELinux
shell> setenforce 0
shell> yum install http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
![Install Smokeping On Centos 7 Install Smokeping On Centos 7](https://cdn.vdocuments.site/img/1200x630/reader020/image/20190926/55cf94bc550346f57ba4125a.png?t=1598112933)
- Step 3: Install Required Packages
shell> yum install mod_fcgid httpd httpd-devel rrdtool fping wget curl bind-utils gcc make gcc-c++
- Step 4: Install Perl based packages
shell> 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
- Step 1: Install Apache and ensure it runs on startup
shell> chkconfig httpd on
Install Smokeping
- Step 1: Download latest version of smokeping on website at http://oss.oetiker.ch/smokeping/pub
shell> wget http://oss.oetiker.ch/smokeping/pub/smokeping-2.6.9.tar.gz
- Step 2: Extract and install smokeping
shell> tar -zxvf smokeping-2.6.9.tar.gz -C /opt/
shell> mkdir /opt/smokeping
shell> cd /opt/smokeping-2.6.9/setup
shell> ./build-perl-modules.sh
shell> cp -r ./thirdparty /opt/smokeping/
shell> cd .
shell> ./configure –prefix=/opt/smokeping
shell> make install Fl studio 20.5 mac torrent.
shell> mkdir /opt/smokeping
shell> cd /opt/smokeping-2.6.9/setup
shell> ./build-perl-modules.sh
shell> cp -r ./thirdparty /opt/smokeping/
shell> cd .
shell> ./configure –prefix=/opt/smokeping
shell> make install Fl studio 20.5 mac torrent.
- Step 3: Create missing folders needed
shell> mkdir data
- Step 4: Add Smokeping Start/Stop Script
shell> mv smokeping /etc/init.d/smokeping
Configure Smokeping Application
- Step 1: Rename Config Files and set file permissions
shell> cd /opt/smokeping/etc/
shell> for foo in *.dist; do cp $foo `basename $foo .dist`; done
shell> chmod 600 /opt/smokeping/etc/smokeping_secrets.dist
shell> for foo in *.dist; do cp $foo `basename $foo .dist`; done
shell> chmod 600 /opt/smokeping/etc/smokeping_secrets.dist
- Step 2: Change Default Config
Change the values in bold to something that fit your needs
owner = Peter Random
contact = [email protected]
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed … this is not
# good for images.
imgcache = /opt/smokeping/cache
imgurl = cache
datadir = /opt/smokeping/data
piddir = /opt/smokeping/var
cgiurl = http://some.url/smokeping.cgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
contact = [email protected]
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed … this is not
# good for images.
imgcache = /opt/smokeping/cache
imgurl = cache
datadir = /opt/smokeping/data
piddir = /opt/smokeping/var
cgiurl = http://some.url/smokeping.cgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
owner = PingPros.com
contact = [email protected]
mailhost = mail.pingpros.com
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed … this is not
# good for images.
imgcache = /opt/smokeping/cache
imgurl = /cache
datadir = /opt/smokeping/data
piddir = /opt/smokeping/var
cgiurl = http://(IP or Hostname)/cgi-bin/smokeping.fcgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
contact = [email protected]
mailhost = mail.pingpros.com
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed … this is not
# good for images.
imgcache = /opt/smokeping/cache
imgurl = /cache
datadir = /opt/smokeping/data
piddir = /opt/smokeping/var
cgiurl = http://(IP or Hostname)/cgi-bin/smokeping.fcgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
shell> cp -r /opt/smokeping/htdocs/cropper /var/www/cgi-bin/
shell> cp /opt/smokeping/htdocs/smokeping.fcgi.dist /var/www/cgi-bin/smokeping.fcgi
shell> mkdir cache
shell> ln -s /var/www/html/cache /opt/smokeping/cache
shell> /etc/init.d/httpd start
- Step 5: Test Smokeping Link for errors
- Visit the cgi-url you configured above. IE: cgiurl = http://(IP or Hostname)/cgi-bin/smokeping.fcgi
- Step6: Clean Up Smokeping Installation Files
shell> rm -rf /opt/smokeping-2.6.9
- Enable smokeping to start during boot
shell> chkconfig httpd on
Install TCPPing and Change TCPPing/FPing Intervals – Recommended
- Install TCPTraceroute
shell> yum install tcptraceroute
- Install TCPPing
shell> cd /usr/bin/
shell> wget http://pingpros.com/pub/tcpping
shell> chmod 755 tcpping
shell> wget http://pingpros.com/pub/tcpping
shell> chmod 755 tcpping
- Configure Probe into Smokeping
shell> vim /opt/smokeping/etc/config
Add Below under *** Probes *** (note: I prefer setting it up to ping every 60 second interval in this example…FPING will already be there just add the step = 60 configlet)
![Centos Centos](https://www.tuxtips.net/wp-content/uploads/2019/11/How-to-install-smokeping-on-CentOS-7-linux.jpg)
+ TCPPing
binary = /usr/bin/tcpping
step = 60
binary = /usr/bin/tcpping
step = 60
- Restart smkeping to use new config
shell> /etc/init.d/smokeping restart
Configure Smokeping to monitoring your targets
- Step 1: Add your own hosts in the config file
*** Targets ***
menu = Top
remark = Welcome to the SmokePing website of PingPros.
Here you will learn all about the latency of our network.
menu = Network
++ rchicago1
Centos 7 Install Desktop Gui
title =Chicago Router 1
++ schicago1
title = Chicago Switch 1
probe = TCPPing
probe = TCPPing
host = 10.1.1.254
- Restart smkeping to use new config
shell> /etc/init.d/smokeping restart
NOTE ABOVE: rchicago1 is using FPing by default as is configured to be the default, schicago1 is using TCPPING because we specified it. It is recommended to utilize TCPPING whenever possible! It is also best practice to put in the probe parameters for each host!
Install Smokeping On Centos 7
END OF TUTORIAL
Install Python On Centos 7
Credits:
TCPPING – http://www.vdberg.org/~richard/tcpping
Smokeping – http://oss.oetiker.ch/smokeping/
TCPPING – http://www.vdberg.org/~richard/tcpping
Smokeping – http://oss.oetiker.ch/smokeping/