summaryrefslogtreecommitdiff
path: root/monitoring
diff options
context:
space:
mode:
authorArtem Alexandrov <qk4l@tem4uk.ru>2016-06-07 00:53:12 +0400
committerRené Moser <mail@renemoser.net>2016-06-06 22:53:12 +0200
commit5d900b7a7766021dbf0ce88f0798c5f6267dea2d (patch)
tree64beecbfc0aa1283d972c955df55621d40817ab7 /monitoring
parent575fc6e87b8fe10159c0ba653805d048640eeafb (diff)
downloadansible-modules-extras-5d900b7a7766021dbf0ce88f0798c5f6267dea2d.tar.gz
zabbix_hostmacro: Fixed basic auth (#2330) (#2331)
Diffstat (limited to 'monitoring')
-rw-r--r--monitoring/zabbix_hostmacro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitoring/zabbix_hostmacro.py b/monitoring/zabbix_hostmacro.py
index 144e3d30..c0e3f8c2 100644
--- a/monitoring/zabbix_hostmacro.py
+++ b/monitoring/zabbix_hostmacro.py
@@ -111,8 +111,8 @@ except ImportError:
# Extend the ZabbixAPI
# Since the zabbix-api python module too old (version 1.0, no higher version so far).
class ZabbixAPIExtends(ZabbixAPI):
- def __init__(self, server, timeout, **kwargs):
- ZabbixAPI.__init__(self, server, timeout=timeout)
+ def __init__(self, server, timeout, user, passwd, **kwargs):
+ ZabbixAPI.__init__(self, server, timeout=timeout, user=user, passwd=passwd)
class HostMacro(object):