Update index.py

pull/618/head
Mr Chen 10 months ago
parent 8f66e8c39e
commit b0f0706dfd
  1. 2
      plugins/zabbix/index.py

@ -422,7 +422,7 @@ def zabbixAgentLog():
rep = 'LogFile=\s*(.*)'
tmp = re.search(rep, content)
if tmp.groups() == 0:
if tmp.groups():
return tmp.groups()[0].strip()
return '/var/log/zabbix/zabbix_agentd.log'

Loading…
Cancel
Save