|
|
@ -37,6 +37,9 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
Install_App() |
|
|
|
Install_App() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
mkdir -p $serverPath/zabbix |
|
|
|
|
|
|
|
echo "${VERSION}" > $serverPath/zabbix/version.pl |
|
|
|
|
|
|
|
|
|
|
|
echo '正在安装脚本文件...' |
|
|
|
echo '正在安装脚本文件...' |
|
|
|
mkdir -p $serverPath/source/zabbix |
|
|
|
mkdir -p $serverPath/source/zabbix |
|
|
|
shell_file=${curPath}/versions/${VERSION}/${OSNAME}.sh |
|
|
|
shell_file=${curPath}/versions/${VERSION}/${OSNAME}.sh |
|
|
@ -48,9 +51,6 @@ Install_App() |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $serverPath/zabbix |
|
|
|
|
|
|
|
echo "${VERSION}" > $serverPath/zabbix/version.pl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#初始化 |
|
|
|
#初始化 |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py start |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py start |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py initd_install |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py initd_install |
|
|
|