Ubuntu安装SmokePing进行服务器监控
Ubuntu 16.04
apt-get update apt-get install apache2 apt-get install smokeping ln -s /usr/share/smokeping/www /var/www/smokeping ln -s /usr/lib/cgi-bin/smokeping.cgi /usr/share/smokeping/www/smokeping.cgi
vim /etc/smokeping/config.d/pathnames
更改sendmail这一行:
sendmail = /bin/false
vim /etc/smokeping/config.d/Targets
在+ Local后,以这种格式添加监控机器,host一行填服务器地址,如8.8.8.8
++ LocalMachine menu = Local Machine title = This host host = localhost
保存。
service smokeping restart service apache2 restart
访问: