Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26807

Zabbix Agent 2 - SMART discovery ignores disks under Adaptec RAID

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.17
    • Agent2 (G)
    • Ubuntu 22.04.5 LTS, Linux 5.15.0-134-generic (amd64)
      Zabbix Agent 2 7.0.17 (1:7.0.17-1+ubuntu22.04)

      Steps to reproduce:

      With the described version Zabbix Agent 2, the built-in SMART discovery ignores the /dev/sda device, which is a Virtual Disk under an Adaptec RAID Controller. 

      SATA SSDs under that controller can be read through smartctl -d cciss,{id} manually.

      Result:

      Testing SMART discovery on the agent-side server node:

       

      root@potassium005:~# zabbix_agent2 -t smart.disk.discovery                                                                                                               smart.disk.discovery                          [s|[{"{#NAME}":"nvme0","{#DISKTYPE}":"nvme","{#MODEL}":"SAMSUNG MZQL23T8HCLS-00B7C","{#SN}":"S63UNN0X945199","{#PATH}":"/dev/nvme0","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme1","{#DISKTYPE}":"nvme","{#MODEL}":"SAMSUNG MZQL23T8HCLS-00B7C","{#SN}":"S63UNN0X945184","{#PATH}":"/dev/nvme1","{#RAIDTYPE}":"","{#ATTRIBUTES}":""}]]  

      Manually do SMART scan using smartctl command:

       

       

      root@potassium005:~# smartctl --scan                                                                                                                                     /dev/sda -d scsi # /dev/sda, SCSI device                                                                                                                                 /dev/nvme0 -d nvme # /dev/nvme0, NVMe device                                                                                                                             /dev/nvme1 -d nvme # /dev/nvme1, NVMe device 

      Manually read SMART information using smartctl command:

       

       

      root@potassium005:~# smartctl -a /dev/sda -d cciss,0
      (...) 
      Device Model:     SAMSUNG MZ7L3480HCHQ-00B7C
      (...)
      SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
      (...)

       

      Also, the log file attached describes the whole test progress.

      I confirmed on the Zabbix Server that the filter macros remain at their default value and do not filter out any devices, as the screenshot shows.

      Expected:

      I expect all the hard disks to be discovered and monitored.

        1. agent-test.log
          40 kB
        2. image-2025-08-06-16-46-35-430.png
          image-2025-08-06-16-46-35-430.png
          98 kB
        3. lspci.log
          4 kB
        4. smartctl.log
          13 kB

            zit Zabbix Integration Team
            helixzz Zijing Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: