-
Notifications
You must be signed in to change notification settings - Fork 37
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
Problem with rotating HDD and media life left #150
Comments
Hi @ondrejsuk1, thank you for your kind words. Makes me happy that this project helps you. I had a look and added a change which should fix your issue. Can you please check out the Thank you |
Hi, thank you for quick reply :) I tested branch
So I went into
to:
It works without some errors :)
|
Hi @ondrejsuk1, sorry for the inconvenience. It was late 😅. I had it fixed for HPE specific drives and not all the others. I just pushed another commit. can you please check it out and see if this solves the issue now? Thank you |
Hi, nope:
I think that var with drive data is named
|
holy crap, this is embarrassing. See kids, this it what happens if you don't run your tests 🤦 Pushed yet another commit. Really sorry for that. |
It's OK :D This just happens - 1/3 of my commits are fixing typos :) Now it works fine -many thanks ;)
We can close this issue now :) |
thank you for testing and patience. |
Hi,
for first, I'd like to thank you for your project - nice work ! :)
I created this issue, because after we upgraded this check to version 1.9.0, we experience issue on some servers.
Problem is, that server with physical HDD reports 0% of Media life left:
I look into closed issues and find #143 . It looks like that code doesn't reflect if disk is SSD or HDD and Redfish returns 0% for HDD (according do returned data):
I use workaround as setting "-1" as critical and warning for storage section, but whole section is now non-monitored.
My Python experience is not that good as you - I can't find my way around your code structure. Otherwise I would have created a pull request.
Thank you :)
The text was updated successfully, but these errors were encountered: