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

SMART plugin incorrectly detects SAT device as RAID and goes to infinite loop

XMLWordPrintable

    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
    • 1

      We have Windows 2019 server with latest smartmontools installed.
      On this server following disk configuration (as reported by smartctl):
      C:\Program Files\smartmontools\bin>smartctl.exe --scan
      /dev/sda -d sat # /dev/sda [SAT], ATA device
      /dev/sdb -d scsi # /dev/sdb, SCSI device
      /dev/csmi0,0 -d ata # /dev/csmi0,0, ATA device
      /dev/csmi0,2 -d ata # /dev/csmi0,2, ATA device
      /dev/csmi0,3 -d ata # /dev/csmi0,3, ATA device

      sda is ordinary disk, sdb - BIOS FakeRAID massive, csmi0,0,0,2 and 0,3 raid disks.
      When running
      zabbix_agent2 -c c:\zabbix\conf\zabbix_agent2.conf -t smart.disk.get -v > 1.1
      we see that agent2 goes to infinite loop by probing all type of raids and number for sda dispite the fact that error code is returned.
      Similar problem described in russian here:
      https://www.zabbix.com/forum/in-russian/437582-zabbix-agent-2-smart-plugin-windows

      log attached.

            esneiders Eriks Sneiders
            barzog Oleg Gawriloff
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: