Merge pull request #2234 from lalinsky/zabbix-host-proxy
monitoring/zabbix_host: Fix (no) proxy handling
This commit is contained in:
commit
05d9a41ca5
1 changed files with 3 additions and 2 deletions
|
@ -362,8 +362,9 @@ class Host(object):
|
|||
if set(list(template_ids)) != set(exist_template_ids):
|
||||
return True
|
||||
|
||||
if host['proxy_hostid'] != proxy_id:
|
||||
return True
|
||||
if proxy_id is not None:
|
||||
if host['proxy_hostid'] != proxy_id:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue