Skip to content
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

Initialize with authtoken #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rppowellemail
Copy link

This change is to make initializing ZabbixAPI with a pre-authenticated token (auth).

This solution is useful for me in a situation where the user/password authentication was handled in a separate script/process as part of daily report generation.

This change works with Zabbix 4.0.0 in a non-production/staging environment.

@coveralls
Copy link

coveralls commented Aug 19, 2020

Pull Request Test Coverage Report for Build 344

  • 2 of 3 (66.67%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 89.623%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyzabbix/api.py 2 3 66.67%
Totals Coverage Status
Change from base Build 331: -0.3%
Covered Lines: 285
Relevant Lines: 318

💛 - Coveralls

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.

3 participants