parent
575fc6e87b
commit
5d900b7a77
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ except ImportError:
|
||||||
# Extend the ZabbixAPI
|
# Extend the ZabbixAPI
|
||||||
# Since the zabbix-api python module too old (version 1.0, no higher version so far).
|
# Since the zabbix-api python module too old (version 1.0, no higher version so far).
|
||||||
class ZabbixAPIExtends(ZabbixAPI):
|
class ZabbixAPIExtends(ZabbixAPI):
|
||||||
def __init__(self, server, timeout, **kwargs):
|
def __init__(self, server, timeout, user, passwd, **kwargs):
|
||||||
ZabbixAPI.__init__(self, server, timeout=timeout)
|
ZabbixAPI.__init__(self, server, timeout=timeout, user=user, passwd=passwd)
|
||||||
|
|
||||||
|
|
||||||
class HostMacro(object):
|
class HostMacro(object):
|
||||||
|
|
Loading…
Reference in a new issue