sudo apt install -y liburi-perl libcgi-pm-perl libsocket6-perl libnet-dns-perl \ libnet-netmask-perl libnet-ldap-perl libio-socket-ssl-perl libauthen-radius-perl \ librrds-perl libsnmp-perl libsnmp-session-perl If some modules are missing, use CPAN:
sudo apt install -y apache2 rrdtool fping curl libapache2-mod-fcgid sudo apt install -y perl libperl-dev build-essential SmokePing needs several Perl modules. The easiest is via APT: smokeping windows
sudo nano /etc/systemd/system/smokeping.service Paste: various Perl modules
sudo a2enmod cgi fcgid alias Create an Apache config file: a web server (Apache or lighttpd)
sudo apt update && sudo apt upgrade -y SmokePing requires Perl, RRDtool, various Perl modules, a web server (Apache or lighttpd), and FPing (for ICMP echo requests). Install them all:
[Unit] Description=SmokePing Latency Monitor After=network.target [Service] Type=forking User=www-data Group=www-data ExecStart=/usr/local/smokeping/bin/smokeping --config=/usr/local/smokeping/etc/config --logfile=/var/log/smokeping.log Restart=always