Skip to content

veeam: 'str' object has no attribute 'fetch_json' #668

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

Closed
5 of 6 tasks
asltbbg opened this issue Apr 25, 2023 · 1 comment
Closed
5 of 6 tasks

veeam: 'str' object has no attribute 'fetch_json' #668

asltbbg opened this issue Apr 25, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@asltbbg
Copy link

asltbbg commented Apr 25, 2023

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • Compiled, from repo
  • Source Code, from GitHub

Bug description

since the removing the "3" suffix

the veeam and the huawei plugins are throwing exceptions

lib/huawei.py", line 43, in get_creds
result = base.coe(url.fetch_json(
AttributeError: 'str' object has no attribute 'fetch_json'

lib/veeam.py", line 43, in get_token
success, result = url.fetch_json(
AttributeError: 'str' object has no attribute 'fetch_json'

Steps to reproduce - Plugin call

x

Steps to reproduce - Data

No response

Environment

5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

Plugin Version

git

Python version

No response

List of Python modules

No response

Additional Information

No response

@asltbbg asltbbg added the bug Something isn't working label Apr 25, 2023
@markuslf markuslf self-assigned this Apr 25, 2023
@markuslf markuslf added this to the M003 milestone Apr 25, 2023
@markuslf
Copy link
Member

Fixed in Linuxfabrik/lib@498d6fd. Please test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants