ubuntu系统下smokping网络监控工具安装配置详解

时间:2016-08-12 21:50:28   收藏:0   阅读:1180

系统: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 


评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!