Skip to content

Configure Debian 7.x/8.x and Ubuntu 14.04 LTS Boxes with Smokeping

No Comments on Configure Debian 7.x/8.x and Ubuntu 14.04 LTS Boxes with Smokeping
  • Login and then update the OS

shell> sudo apt-get update
shell> sudo apt-get upgrade

  • Configure Hostname (in our example we will use turtle):

shell> sudo hostname turtle
shell> sudo vim /etc/hostname

    • Add

turtle.pingpros.com

    • Change Hosts File

shell> sudo vim /etc/hosts

      • From

127.0.0.1        debian

      • To

127.0.0.1        turtle.pingpros.com

  • Restart hostname

shell> sudo /etc/init.d/hostname.sh

  • Install Postfix, cacti, smokeping

shell> sudo apt-get install postfix
shell> sudo apt-get install sendmail
shell> sudo apt-get install smokeping

  • Install TCPPing

shell> apt-get install tcptraceroute
shell> cd /usr/bin/
shell> wget http://www.vdberg.org/~richard/tcpping
shell> chmod 755 tcpping

  • Configured Apache for Smokeping support

shell> cd /etc/apache2/conf-available
shell> sudo ln -s ../../smokeping/apache2.conf smokeping.conf
shell> sudo a2enconf smokeping
shell> sudo a2enmod cgid
shell> service apache2 reload

  • Configure Smokeping

shell> sudo vim /etc/smokeping/config.d/General

cgiurl   = http://turtle.pingpros.com/cgi-bin/smokeping.cgi

REBOOT

Leave a Reply

Your email address will not be published. Required fields are marked *