系统: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.直接启动:
[email protected]:/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带有发邮件的功能,但没有安装,所以安装即可
[email protected]:/etc/smokeping$ sudo apt-get install sendmail
[email protected]:/etc/smokeping$ sudo /etc/init.d/smokeping start
* Starting latency logger daemon smokeping [OK]
ubuntu系统下apt安装后,http服务自动重启,在浏览器中打开 http://IP/cgi-bin/smokeping.cgi
时间: 2024-10-20 15:47:29