pull/618/head
Mr Chen 10 months ago
parent b4eaec1ca5
commit 43bab2a80e
  1. 2
      plugins/zabbix_agent/index.html
  2. 8
      plugins/zabbix_agent/index.py

@ -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'

Loading…
Cancel
Save