ExportXMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.14
    • Component/s: Agent2 (G)
    • None

      Steps to reproduce:

      1. Setup SMART as outlined in the article:  https://www.zabbix.com/integrations/smart#smart_agent2_active
      2. on the host run:  zabbix_agent2 -t smart.disk.discovery
      3. Zabbix Data collection for the host shows not supported 
      4. Smart exits normally with status of 8 which is a failing drive, yet the zabbix integration takes this as not supported

      Result:
       zabbix_agent2 -t smart.disk.discovery

      smart.disk.discovery                          [m|ZBX_NOTSUPPORTED] [Cannot fetch data.: got error executing worker pool: failed to execute smartctl: "{\n  \"json_format_version\": [\n    1,\n    0\n  ],\n  \"smartctl\":

      {\n    \"version\": [\n      7,\n      2\n    ],\n    \"svn_revision\": \"5155\",\n    \"platform_info\": \"x86_64-linux-5.14.0-745.el9.x86_64\",\n    \"build_info\": \"(local build)\",\n    \"argv\": [\n      \"smartctl\",\n      \"-a\",\n      \"/dev/nvme0\",\n      \"-j\"\n    ],\n    \"exit_status\": 8\n  }

      ,\n  \"device\": {\n    \"name\": \"/dev/nvme0\",\n    \"info_name\": \"/dev/nvme0\",\n    \"type\": \"nvme\",\n    \"protocol\": \"NVMe\"\n  },\n  \"model_name\": \"PM991 NVMe Samsung 256GB\",\n  \"serial_number\": \"S50ANF0N302919\",\n  \"firmware_version\": \"25311039\",\n  \"nvme_pci_vendor\": {\n    \"id\": 5197,\n    \"subsystem_id\": 5197\n  },\n  \"nvme_ieee_oui_identifier\": 9528,\n  \"nvme_total_capacity\": 256060514304,\n  \"nvme_unallocated_capacity\": 0,\n  \"nvme_controller_id\": 5,\n  \"nvme_version\": {\n    \"string\": \"1.3\",\n    \"value\": 66304\n  },\n  \"nvme_number_of_namespaces\": 1,\n  \"nvme_namespaces\": [\n    {\n      \"id\": 1,\n      \"size\":

      {\n        \"blocks\": 500118192,\n        \"bytes\": 256060514304\n      }

      ,\n      \"capacity\": {\n        \"blocks\": 500118192,\n        \"bytes\": 256060514304\n      },\n      \"utilization\": {\n        \"blocks\": 433026936,\n        \"bytes\": 221709791232\n      },\n      \"formatted_lba_size\": 512\n    }\n  ],\n  \"user_capacity\": {\n    \"blocks\": 500118192,\n    \"bytes\": 256060514304\n  },\n  \"logical_block_size\": 512,\n  \"local_time\": {\n    \"time_t\": 1789652055,\n    \"asctime\": \"Thu Sep 17 09:34:15 2026 EDT\"\n  },\n  \"smart_status\": {\n    \"passed\": false,\n    \"nvme\":

      {\n      \"value\": 4,\n      \"spare_below_threshold\": false,\n      \"temperature_above_or_below_threshold\": false,\n      \"reliability_degraded\": true,\n      \"media_read_only\": false,\n      \"volatile_memory_backup_failed\": false,\n      \"other\": 0\n    }

      \n  },\n  \"nvme_smart_health_information_log\": {\n    \"critical_warning\": 4,\n    \"temperature\": 43,\n    \"available_spare\": 100,\n    \"available_spare_threshold\": 50,\n    \"percentage_used\": 92,\n    \"data_units_read\": 169304214,\n    \"data_units_written\": 328352090,\n    \"host_reads\": 3684688864,\n    \"host_writes\": 6346163276,\n    \"controller_busy_time\": 63473,\n    \"power_cycles\": 243,\n    \"power_on_hours\": 43798,\n    \"unsafe_shutdowns\": 205,\n    \"media_errors\": 0,\n    \"num_err_log_entries\": 108,\n    \"warning_temp_time\": 0,\n    \"critical_comp_time\": 0,\n    \"temperature_sensors\": [\n      43\n    ]\n  },\n  \"temperature\": {\n    \"current\": 43\n  },\n  \"power_cycle_count\": 243,\n  \"power_on_time\": {\n    \"hours\": 43798\n  }\n}": exit status 8.]

      See log file...
      See memory dump...
      Expected:
      See screenshot....
      See attached patch file...

            Assignee:
            Zabbix Support Team
            Reporter:
            Adam Esslinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: