smartctl_exporter icon indicating copy to clipboard operation
smartctl_exporter copied to clipboard

Another case of "was collected before with the same name and label values"

Open SckyzO opened this issue 8 months ago • 8 comments

Hi

I use this exporter so many time, but today, i installed a new jbod supermicro, and I have disks which can"t work with this exporter. I use smartmontools 7.1, and i've update the drivedb.h too.

The errors are currently with the same disk model : SEAGATE ST4000NM025B

example with /dev/sdj

smartctl --json --xall /dev/sdj
  Pending defect count:{
  "json_format_version": [
    1,
    0
  ],
  "smartctl": {
    "version": [
      7,
      1
    ],
    "svn_revision": "5022",
    "platform_info": "x86_64-linux-4.18.0-513.18.1.el8_9.x86_64",
    "build_info": "(local build)",
    "argv": [
      "smartctl",
      "--json",
      "--xall",
      "/dev/sdj"
    ],
    "exit_status": 0
  },
  "device": {
    "name": "/dev/sdj",
    "info_name": "/dev/sdj",
    "type": "scsi",
    "protocol": "SCSI"
  },
  "vendor": "SEAGATE",
  "product": "ST4000NM025B",
  "model_name": "SEAGATE ST4000NM025B",
  "revision": "E003",
  "scsi_version": "SPC-5",
  "user_capacity": {
    "blocks": 7814037168,
    "bytes": 4000787030016
  },
  "logical_block_size": 512,
  "physical_block_size": 4096,
  "rotation_rate": 7200,
  "form_factor": {
    "scsi_value": 2,
    "name": "3.5 inches"
  },
  "serial_number": "WQB045610000E23374ZH",
  "device_type": {
    "scsi_value": 0,
    "name": "disk"
  },
  "local_time": {
    "time_t": 1718239233,
    "asctime": "Thu Jun 13 02:40:33 2024 CEST"
  },
  "smart_status": {
    "passed": true
  },
  "temperature": {
    "current": 33,
    "drive_trip": 60
  },
  "scsi_grown_defect_list": 0,
  "power_on_time": {
    "hours": 1551,
    "minutes": 32
  },
  "scsi_error_counter_log": {
    "read": {
      "errors_corrected_by_eccfast": 0,
      "errors_corrected_by_eccdelayed": 0,
      "errors_corrected_by_rereads_rewrites": 0,
      "total_errors_corrected": 0,
      "correction_algorithm_invocations": 0,
      "gigabytes_processed": "0.002",
      "total_uncorrected_errors": 0
    },
    "write": {
      "errors_corrected_by_eccfast": 0,
      "errors_corrected_by_eccdelayed": 0,
      "errors_corrected_by_rereads_rewrites": 0,
      "total_errors_corrected": 0,
      "correction_algorithm_invocations": 0,
      "gigabytes_processed": "0.121",
      "total_uncorrected_errors": 0
    }
  },
  "pending_defects": {
    "count": 0
  }
}

is this type of disk supported by smartctl exporter?

Regards,

SckyzO avatar Jun 13 '24 01:06 SckyzO