-
Notifications
You must be signed in to change notification settings - Fork 45
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
Temperature not read for all drives #3
Comments
That looks like it's an SSD. The script's support for SSDs is currently minimal. I've been planning to improve SSD support, but they don't really need the same level of monitoring that platter drives do, so my motivation for it has been low. If anyone wants to take a stab at it, go for it (and good luck; SMART attributes on SSDs are far from standardized). |
The other option is that instead of looking for the name look for the number instead, ( |
That would be doable, but you would need some additional logic to make sure the number was in the first column of the table and not, say, in the |
smartctl -a "/dev/${hdNum}" | grep "^194" | sed -E 's:[[:space:]]+: :g' | cut -d ' ' -f 10 will give you the right value where |
First off, Thank you so much for this!!!! And I'm not sure if this is the right place to do this but I just wanted to add my voice in saying, I'd love for your amazing script to read SSD's as well. Right now I have a separate script that sends me my status on my Toshiba SAS SSD. Thanks again for sharing your work! |
|
Ids are standardized (mostly) but names are not. Fixes #3.
It should pull from
Temperature_Case
orTemperature_Internal
(or an average of the two):The text was updated successfully, but these errors were encountered: