ゴジラ

Installing Smokeping on Debian 8

Install the Smokeping package

apt-get install smokeping

Copy the vHost configuration,

cp /etc/smokeping/apache2.conf /etc/apache2/sites-available/smokeping.conf

Activate the vHost,

root@host:/etc/apache2/sites-available# a2ensite smokeping.conf
Enabling site smokeping.
To activate the new configuration, you need to run:
  service apache2 reload

Activate mod_cgi,

root@host:/etc/apache2/sites-available# a2enmod cgi
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using IP_ADDRESS. Set the 'ServerName' directive globally to suppress this message
Your MPM seems to be threaded. Selecting cgid instead of cgi.
Enabling module cgid.
To activate the new configuration, you need to run:
  service apache2 restart

Finally, restart apache2 now,

service apache2 restart

Add a host entry into /etc/hosts,

nano /etc/hosts

For example,

127.0.0.1         localhost                    localhost

Edit the Smokeping Targets file at /etc/smokeping/config.d/Targets,

nano /etc/smokeping/config.d/Targets

For example,

*** Targets ***

probe = FPing
menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website. Here you will learn all about the latency of our network.

+ Local

menu = Local
title = Local

++ localhost

menu = localhost
title = localhost
host = localhost

Edit the General config file at /etc/smokeping/config.d/General

nano /etc/smokeping/config.d/General

Setup your cgiurl, replace your "YOUR_IP_ADDRESS" with your IP address,

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

Restart the Smokeping service,

service smokeping restart

Smokping now can be accessed at,

http://YOUR_IP_ADDRESS/smokeping/smokeping.cgi

Last modified: December 06 2019 14:21:55