top of page

This is a guide on fresh install in Ubuntu 16.04

1. Install SmokePing
$ sudo apt-get install smokeping -y

 

2. Edit pathnames file and comment mail *because i don't use it
$ sudo nano /etc/smokeping/coonfig.d/pathnames

sendmail = /usr/sbin/sendmail 

To

#sendmail = /usr/sbin/sendmail

 

3. Set smokeping IP Address

$ sudo nano /etc/smokeping/config.d/General

cgiurl = http://UR_IP_ADDRESS/cgi-bin/smokeping.cgi

4. Enable cgi modules in Apache2

$ sudo nano /etc/apache2/conf-available/serve-cgi-bin.conf

                         

                                                          Under the lines

                                                          “Require all granted
                                                               </Directory>”

                                                          You want to add:

                                                          ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi
                                                           Alias /smokeping /usr/share/smokeping/www
                                                           <Directory “/usr/share/smokeping/www”>
                                                           Options FollowSymLinks
                                                           </Directory>

5. Enable CGI

$ sudo a2enmod cgi

6. Restart Apache2 and smokeping service

$ sudo service apache2 restart

$ sudo service smokeping restart

 

7. Open web browser

http://localhost/cgi-bin/smokeping.cgi

Done.

Install Smoke Ping

bottom of page