diff options
author | Eike Frost <ei@kefro.st> | 2016-02-29 22:58:23 +0000 |
---|---|---|
committer | Eike Frost <ei@kefro.st> | 2016-02-29 22:58:23 +0000 |
commit | 2810e6542a776db97aff18b9196e034f1546bfab (patch) | |
tree | 4bab4269683ccf466331c7ce01e42daadb2f7967 /monitoring/zabbix_hostmacro.py | |
parent | 39e4040685bf2c36fd59450ac4f9b40158179f9e (diff) | |
download | ansible-modules-extras-2810e6542a776db97aff18b9196e034f1546bfab.tar.gz |
Replace deprecated exists API for Zabbix 3.0 compatibility
Diffstat (limited to 'monitoring/zabbix_hostmacro.py')
-rw-r--r-- | monitoring/zabbix_hostmacro.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/monitoring/zabbix_hostmacro.py b/monitoring/zabbix_hostmacro.py index 7895d885..59193e25 100644 --- a/monitoring/zabbix_hostmacro.py +++ b/monitoring/zabbix_hostmacro.py @@ -108,11 +108,6 @@ class HostMacro(object): self._module = module self._zapi = zbx - # exist host - def is_host_exist(self, host_name): - result = self._zapi.host.exists({'host': host_name}) - return result - # get host id by host name def get_host_id(self, host_name): try: |