mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 02:39:26 +08:00
update
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div class="bt-w-menu">
|
||||
<p class="bgw" onclick="pluginService('zabbix_agent');">服务</p>
|
||||
<p onclick="pluginInitD('zabbix_agent');">自启动</p>
|
||||
<p onclick="pluginConfig('zabbix_agent',$('.plugin_version').attr('version'),'zabbix_agent_conf');">ZA配置</p>
|
||||
<p onclick="pluginConfig('zabbix_agent',$('.plugin_version').attr('version'),'zabbix_agent_conf');">默认配置</p>
|
||||
<p onclick="pluginLogs('zabbix_agent','','run_log');">运行日志</p>
|
||||
<p onclick="zabbixReadme();">相关说明</p>
|
||||
|
||||
|
||||
@@ -168,14 +168,6 @@ def initdUinstall():
|
||||
|
||||
|
||||
def installPreInspection():
|
||||
openresty_dir = mw.getServerDir() + "/openresty"
|
||||
if not os.path.exists(openresty_dir):
|
||||
return '需要安装Openresty插件'
|
||||
|
||||
mysql_dir = mw.getServerDir() + "/mysql"
|
||||
if not os.path.exists(mysql_dir):
|
||||
return '需要安装MySQL插件,至少8.0!'
|
||||
|
||||
return 'ok'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user