mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:59:26 +08:00
update
This commit is contained in:
Binary file not shown.
@@ -345,7 +345,7 @@ def installPreInspection():
|
||||
return '不支持该系统'
|
||||
|
||||
if sysName == 'debain' and not sysId in ['12']:
|
||||
return '不支持,'+sysName+'['+sysId+']'
|
||||
return '不支持,'+sysName+'['+sysId+'],仅支持debian12!'
|
||||
|
||||
openresty_dir = mw.getServerDir() + "/openresty"
|
||||
if not os.path.exists(openresty_dir):
|
||||
|
||||
@@ -171,6 +171,9 @@ def initdUinstall():
|
||||
|
||||
|
||||
def installPreInspection():
|
||||
zabbix_dir = mw.getServerDir()+'/zabbix'
|
||||
if os.path.exists(zabbix_dir):
|
||||
return '已经安装zabbix插件'
|
||||
return 'ok'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user