-
Notifications
You must be signed in to change notification settings - Fork 13
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
Five PRs in one: Update to Python 3, rely on PATH, rename script, fix a typo, add gerdriesselmann's fix from issue #2 #3
base: master
Are you sure you want to change the base?
Conversation
Thanks @gerdriesselmann for his work in bojleros#2
even if that results in some questionable double braces for the print statements
The [`subprocess.check_output` docs](https://docs.python.org/3/library/subprocess.html#subprocess.check_output) say that using the system's PATH entirely possible just by using a bare command (no slashes).
Added a fix for a metric missing from our MegaCli64 output. |
The initial script was not working, but this PR did! 👍🏻 |
nice PR. Although I get no separate temperatures per slot, it seems (I can't select slots to display per disk):
Any idea? I can provide raw data, if helpful.
|
Thanks @stefangweichinger ! I am afraid nothing in this PR has anything to do with the issues you are seeing. We have a couple of different MegaRAID controllers, and annoyingly MegaCli64 outputs different stats depending on the HW - so this same script throws exceptions on one controller and runs fine on another. |
@hacklschorsch I am getting lost a bit between megacli, storcli, smartctl ... basically I want to read and monitor the drive temperatures. Yes, I might create a new PR out of #3 (comment) |
I agree this is much harder than it should be. |
Getting the drive-temperatures via |
Thank you for your script!
I especially like that it comes w/o heavy dependencies and is easy to follow.
For our setup I had to change a couple of things; Please see this PR if you find anything of interest.
Merge at will or please drop me a line if you'd like me to turn this into distinct PRs.
Cheers!