kuhn-ruess / Checkmk-Checks

Checks and Stuff for Check_MK
MIT License
36 stars 20 forks source link

Pure Issue #75

Open X-gen76 opened 2 months ago

X-gen76 commented 2 months ago

I'm trying to add a pure host to one of checkmk instances but I get the following error when running the tests in Checkmk. Any idea how to solve this?

Agent exited with code 1: Traceback (most recent call last): File "/omd/sites/vali/local/share/check_mk/agents/special/agent_pure", line 33, in FA = purestorage.FlashArray(HOSTNAME, api_token=API_TOKEN) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'purestorage' has no attribute 'FlashArray'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/omd/sites/vali/local/share/check_mk/agents/special/agent_pure", line 40, in except purestorage.purestorage.PureError as error_txt: ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'purestorage' has no attribute 'purestorage'

Bastian-Kuhn commented 2 months ago

I don't have a Pure Storage Device here to test, but looks to me like a Problem with the Python Module for pure storage. Maybe wrong version.