系统:ubuntu 12.04
1.安装工具及依赖包
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
2.直接启动:
ubuntu@VM-10-52-ubuntu:/etc/smokeping$ sudo /etc/init.d/smokeping start
* Starting latency logger daemon smokeping ERROR: /etc/smokeping/config.d/pathnames, line 1: File ‘/usr/sbin/sendmail‘ does not exist
重启不成功,看报错信息,因为smokeping带有发邮件的功能,但没有安装,所以安装即可
ubuntu@VM-10-52-ubuntu:/etc/smokeping$ sudo apt-get install sendmail
ubuntu@VM-10-52-ubuntu:/etc/smokeping$ sudo /etc/init.d/smokeping start
* Starting latency logger daemon smokeping [OK]
ubuntu系统下apt安装后,http服务自动重启,在浏览器中打开 http://IP/cgi-bin/smokeping.cgi
原文地址:http://zhaopeiyan.blog.51cto.com/10522430/1837389