We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "test.py", line 4, in zapi = ZabbixAPI(url='https://nms.planetc.net/zabbix/', user='trends', password='India@12345') File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 180, in init self._login(user, password) File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 210, in _login self.auth = self.user.login(user=user, password=password) File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 94, in fn args or kwargs File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 304, in do_request raise ZabbixAPIException(err) pyzabbix.api.ZabbixAPIException: {'code': -32602, 'message': 'Invalid params.', 'data': 'Invalid parameter "/": unexpected parameter "user".', 'json': "{'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'trends', 'password': '********'}, 'id': '1'}"}
This is the error i am getting when try to login.
i am using python3.6 and zabbix server is at 6.4.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last):
File "test.py", line 4, in
zapi = ZabbixAPI(url='https://nms.planetc.net/zabbix/', user='trends', password='India@12345')
File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 180, in init
self._login(user, password)
File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 210, in _login
self.auth = self.user.login(user=user, password=password)
File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 94, in fn
args or kwargs
File "/usr/local/lib/python3.6/site-packages/pyzabbix/api.py", line 304, in do_request
raise ZabbixAPIException(err)
pyzabbix.api.ZabbixAPIException: {'code': -32602, 'message': 'Invalid params.', 'data': 'Invalid parameter "/": unexpected parameter "user".', 'json': "{'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'trends', 'password': '********'}, 'id': '1'}"}
This is the error i am getting when try to login.
i am using python3.6 and zabbix server is at 6.4.
The text was updated successfully, but these errors were encountered: