Skip to content

fix login for zabbix >=5.4#37

Closed
ghormoon wants to merge 1 commit into
gescheit:masterfrom
ghormoon:fix-login
Closed

fix login for zabbix >=5.4#37
ghormoon wants to merge 1 commit into
gescheit:masterfrom
ghormoon:fix-login

Conversation

@ghormoon

@ghormoon ghormoon commented Oct 5, 2022

Copy link
Copy Markdown

Since version 5.4, zabbix changed 'user' parameter name for 'username' in login method. Handling added to support versions >=5.4

Comment thread zabbix/zabbix_api.py Outdated
@ghormoon

ghormoon commented Nov 6, 2022

Copy link
Copy Markdown
Author

mr updated with packaging.version.parse instead

@NoxInmortus

Copy link
Copy Markdown

If this fix zabbix-api for Zabbix 6.2 I would be glad!

@gescheit

gescheit commented Dec 9, 2022

Copy link
Copy Markdown
Owner

packaging is included in python:

>>> import packaging
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'packaging'

https://stackoverflow.com/a/11887825 this implementation is good enough for current problem.

@chrisallennc

chrisallennc commented Apr 12, 2023

Copy link
Copy Markdown

Is there an ETA for when this will be merged? With Zabbix 6.4 the "user" parameter has been removed and "username" must be used so this module cannot be used with 6.4+ https://www.zabbix.com/documentation/current/en/manual/api/changes#user

@rjorgenson-ns

Copy link
Copy Markdown

Also needing this update for an imminent upgrade to zabbix 6.4

@eliottcassidy2000

Copy link
Copy Markdown

+1, would be great to have this merged so we can use it with zabbix 6.4

@gescheit

Copy link
Copy Markdown
Owner

Fixed in #39

@gescheit gescheit closed this Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants