unexpected keyword argument 'password'
jurim76 opened this issue · 0 comments
./weathermap.py -s my_mapname -z http://my_zabbix_server -l zabbix-api -p pass
or
./weathermap.py -s my_mapname -f
Traceback (most recent call last):
File "./weathermap.py", line 121, in
main()
File "./weathermap.py", line 118, in main
WeathermapCLI()
File "./weathermap.py", line 55, in init
self._map_scan()
File "./weathermap.py", line 66, in _map_scan
zbx = ZabbixAgent(self.args.zabbix, self.args.login, self.args.pwd)
File "/opt/Zabbix-Network-Weathermap/zabbix.py", line 23, in init
self.zbx_api = ZabbixAPI(url=url, use_authenticate=False, user=login, password=password)
TypeError: init() got an unexpected keyword argument 'password' (or unexpected keyword argument 'url', unexpected keyword argument 'user')
pyzabbix==0.7.5
Pillow==5.4.1
ruamel.yaml==0.14.12
python 3.4.3 debian jessie
zabbix 3.0
Same error for zabbix-network-weathermap 1.1.3 and 1.1.5
User zabbix-api has admin access on zabbix server (login works)