Tested on Zabbix version 7.0, 7.2, 7.4 and nvme-cli 1.16, 2.08, 2.11
- Install
nvme-clipackage on your server
Debian/Ubuntu:
$ sudo apt-get install nvme-cli
CentOS/RHEL:
$ yum install nvme-cli
-
Import the
zabbix_nvme.xmlinto your Zabbix templates dashboard. This template is pre-configured and will add a new one called NVMe by Zabbix Agent. -
Copy the configuration files:
$ cp zabbix_nvme.conf /etc/zabbix/zabbix_agentd.d/
$ cp sudoers_zabbix_nvme /etc/sudoers.d/
Restart Zabbix Agent
$ systemctl restart zabbix-agent
or Zabbix Agent 2
$ systemctl restart zabbix-agent2
- Add the template to the hosts you want to monitor.
Override default values for following Macros depending on your hardware and personal preferences.
{$NVME_TBW_MAX} (default 300) - defines maximum TBW for (check your device documentation for this value) {$NVME_USED_MAX} (default 80) - defines maximum value of "Percentage Used" value reported by device which triggers alert