8000 Login should be aborted if application fails to retrieve API version · Issue #299 · unioslo/zabbix-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Login should be aborted if application fails to retrieve API version #299

New issue

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

Open
pederhan opened this issue Apr 24, 2025 · 0 comments
Open

Comments

@pederhan
Copy link
Member

If we can't fetch from apiinfo.version, it means the API is unavailable, and we should not proceed with the login flow. zabbix_cli.pyzabbix.client.ZabbixAPI.api_version() should also raise a more accurate exception subtype than just ZabbixAPIException when this happens.

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

No branches or pull requests

1 participant
0