(smartmontools) or nvme (nvme-cli)
- Auto discovery of drive by smartctl (smartmontools) or nvme (nvme-cli)
- Will trigger an alert on monitored disk failure and temperature attributes
- Drives are probed every 1 hour
- Active Zabbix agent discovery and items
- Make sure smartctl (smartmontools) is installed if you plan to monitor SATA drives
- Make sure smartmontools version 6.6+ is installed to monitor NVMe. nvme (nvme-cli) may be installed if such version is not avaialble (e.g. for Ubuntu 16.04 LTS)
- Download repository files and run to install files
cd zabbix-hdd-smart-master
sudo bash install.sh
- Import hdd-smart.xml on Zabbix Monitoring Server
- Create
/etc/zabbix/hdd-smart.conf
and add any RAID devices or ignore device (see examplehdd-smart.conf
in repository)
- If all of the SMART values show as
not supported
you most likely need to install smartmontools on the monitored machine. - If a drive is missing from the listing, make sure it is listed by
smartctl --scan
- Some drives only give Temperature_Celsius, some only give
Airflow_Temperature_Cel, and some give both. So in
hdd-smart.xml
look for Temperature_Cel (which will catch both) and in only take the first output. On drives that provide both temperatures there is no guarantee which one will show up first. This should only be a minor problem and is the result of S.M.A.R.T not being an official set of standards.
- nvme cli does not provide a health status of disk (self test result)
Mostly based on zab-smartmon project by Ronald Farrer (@rfarrer)