Ubuntu 14.04 Installation Smokeping
Install smokeping and its dependent package
$ sudo apt-get install smokeping curl Libauthen-radius-perl Libnet-ldap-perl Libnet-dns-perl Libio-socket-ssl-perl Libnet-telnet-perl Libsocket6-perl Libio-socket-inet6-perl apache2
Configure Apache
Cd/etc/apache2/conf-available
sudo ln-s. /.. /smokeping/apache2.conf smokeping.conf
Please note that the Apache configuration
$ cd/etc/smokeping
< Code style= "Padding:0px;margin:0px;border:0px;font-family:monaco, Consolas, ' Andale mono ', ' Dejavu Sans Mono ', Monospace;font-size:15px;vertical-align:baseline;line-height:normal; " >
SCRIPTALIAS/SMOKEPING/SMOKEPING.CGI/USR/LIB/CGI-BIN/SMOKEPING.CGI
ALIAS/SMOKEPING/USR/SHARE/SMOKEPING/WWW
directory "/usr/share/smokeping/www ">
options followsymlinks
#sudo a2enconf smokeping
#sudo A2enmod Cgid
Installation:
# Apt-get Install SendMail
own example!!
Configure Smokeping to add a monitoring host. The implementation method is to modify
# vi/etc/smokeping/config.d/targets
Targets * * *
Probe = fping
menu = Top
title = Network Latency Grapher
Remark = Welcome to the smokeping website of xxx company. \
Here you'll learn all about the latency of our network.
+ Local
menu = Local
title = Local Network
#parents = Owner:/test/james location:/
+ + LocalMachine
menu = Local Machine
title = This Host
host = localhost
#alerts = Someloss
+ Servers
menu = Servers
title = Servers Network
+ + SINGAPORE_SL
menu = Singapore SL
title = 119.81.58.230
Host = 119.81.58.230
+ + VPN
menu = VPN
title = 203.69.195.44
Host = 203.69.195.44
+ + Jp_vpn
menu = Japan VPN
title = Japanese vpn_161.202.111.135
Host = 161.202.111.135
The most basic Ubuntu smokeping installation