|
|
@ -172,7 +172,7 @@ configureUb() { |
|
|
|
systemctl start apache2 smokeping || error=1 |
|
|
|
systemctl start apache2 smokeping || error=1 |
|
|
|
[[ $error -eq 1 ]] && echo -e "${RED}启动失败${PLAIN}" && exit 1 |
|
|
|
[[ $error -eq 1 ]] && echo -e "${RED}启动失败${PLAIN}" && exit 1 |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "Smokeping安装完成,监控页面:http://$ip:${port1:-20000}/smokeping/sm.cgi" |
|
|
|
echo "Smokeping安装完成,监控页面:http://$ip:${port1:-20000}/smokeping" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "注意:" |
|
|
|
echo "注意:" |
|
|
|
echo "如有必要请在防火墙放行 ${port1:-20000} 端口" |
|
|
|
echo "如有必要请在防火墙放行 ${port1:-20000} 端口" |
|
|
@ -264,4 +264,4 @@ configureCeAgent() { |
|
|
|
echo "如有必要请在防火墙放行 9123 端口" |
|
|
|
echo "如有必要请在防火墙放行 9123 端口" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
} |
|
|
|
} |
|
|
|
selectAction |
|
|
|
selectAction |
|
|
|