update
This commit is contained in:
parent
d32dd19dd0
commit
c4cda94309
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'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue