diff --git a/modules/device.py b/modules/device.py index 265e7d8..1947cbd 100644 --- a/modules/device.py +++ b/modules/device.py @@ -376,7 +376,7 @@ class NetworkDevice(): # check if the key Zabbix is defined in the config context if not "zabbix" in self.nb.config_context: return False - elif ("proxy" in self.nb.config_context["zabbix"] and + if ("proxy" in self.nb.config_context["zabbix"] and not self.nb.config_context["zabbix"]["proxy"]): return False # Proxy group takes priority over a proxy due