-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.17
-
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.