-
Type:
Incident report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.0.29
-
Component/s: None
-
None
Steps to reproduce:
- from zabbix_utils import ZabbixAPI
- setup variables for username, password and url or perhaps token
- call api.login(user=args.username, password=args.password) or similar for token, it works
- call api.host.get() and it fails.
Result:
If I test this with a Zabbix 6.0 server, it works. If I test it with a Zabbix 7.4 server, it also works. With 7.0, however, it fails. If I hand-craft the JSON, it works everywhere, so something seems to be rather messed up with the API if using the 7.0 LTS version.