Skip to content
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

added additional smartmonattrs #861

Merged
merged 1 commit into from
Apr 10, 2018
Merged

added additional smartmonattrs #861

merged 1 commit into from
Apr 10, 2018

Conversation

muellerbe
Copy link
Contributor

Signed-off-by: Bernd Mueller mueller@b1-systems.de

added S.M.A.R.T. temperature values for some Intel disks

$smartctl -i -H -d sat /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-92-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Intel 730 and DC S35x0/3610/3700 Series SSDs
Device Model: INTEL SSDSC2BB240G7
Serial Number: PHDV716402YR240AGN
LU WWN Device Id: 5 5cd2e4 14d7afbba
Firmware Version: N2010112
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Mar 20 22:40:49 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

$smartctl -A -d sat /dev/sda | grep -i temperature
190 Temperature_Case 0x0022 074 069 000 Old_age Always - 26 (Min/Max 24/31)
194 Temperature_Internal 0x0022 100 100 000 Old_age Always - 26

$ smartctl -i -H -d sat /dev/sdb
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-92-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: INTEL SSDSC2BB016T7
Serial Number: PHDV701403GE1P6EGN
LU WWN Device Id: 5 5cd2e4 14d6017a8
Firmware Version: N2010101
User Capacity: 1,600,321,314,816 bytes [1.60 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Mar 20 22:40:52 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

$ smartctl -A -d sat /dev/sdb | grep -i temperature
190 Airflow_Temperature_Cel 0x0022 074 063 000 Old_age Always - 26 (Min/Max 25/37)
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 26

Signed-off-by: mueller <mueller@b1-systems.de>
@discordianfish
Copy link
Member

LGTM to me but can't test since on NVME based systems the --scan-open option the script is using doesn't work.

@muellerbe This needs rebasing though. Can you do that?

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ SuperQ merged commit 178c62d into prometheus:master Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants