Georg Schönberger wrote: > Hi, > > I am currently writing an Icinga/Nagios plugin to check SSD smart values. > While building up a map if VALUE or RAW_VALUE must be taken for an SSD I > realized, that a sensor name is not correct for my Intel 320 SSD. > According to the specification the Sensor 0xB7, 183 dec. has the attribute > name "SATA Downshift Count". But in the smart database the sensor is called > "Runtime_Bad_Block": > ------------------- > :~$ sudo smartctl -a /dev/sda > smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.8.0-27-generic] (local build) > Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net > > === START OF INFORMATION SECTION === > Model Family: Intel 320 Series SSDs > Device Model: INTEL SSDSA2CW160G3 > Serial Number: CVPR1462071K160DGN > LU WWN Device Id: 5 001517 bb273d83d > Firmware Version: 4PC10362 > [..] > 183 Runtime_Bad_Block 0x0030 100 100 000 Old_age Offline > - 24 > [...] > ------------------- > > * Specification: > http://www.intel.com/content/www/us/en/solid-state-drives/ssd-320-specification.html > *Page 17
This attribute was missing in older 320 SSD spec from March 2011. Added in r3846, r3847 http://sourceforge.net/p/smartmontools/code/3846 http://sourceforge.net/p/smartmontools/code/3847 > As I checked it for the newer Intel DCS 3700, it's sensor has the correct > name: > * https://sourceforge.net/apps/trac/smartmontools/changeset/3752 Note that this code browser does not show recent changes. > * Line 532 > "-v 183,raw48,SATA_Downshift_Count " > > Is there a way to correct the sensor name in the smart database? update-smart-drivedb from smartmontools 5.43 does no longer work due to SVN repo move. Download drivedb.h from 5.43 branch via repo or code browser: http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h and replace /usr/share/smartmontools/drivedb.h For quick changes, you could add a local drive database entry in /etc/smart_drivedb.h, see -B option on smartctl man page. Thanks, Christian ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Smartmontools-database mailing list Smartmontools-database@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartmontools-database