Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 573 Bytes

File metadata and controls

19 lines (18 loc) · 573 Bytes

zbx-templ-qnap-smart-raid-status

Zabbix Templates for QNAP - Status check SMART and RAID

Install

  1. Add
    Include=/opt/ZabbixAgent/etc/zabbix_agentd.conf.d/
    
    to QNAP:/opt/ZabbixAgent/etc/zabbix_agentd.conf
  2. Copy smart.conf, raid.conf to QNAP:/opt/ZabbixAgent/etc/zabbix_agentd.conf.d/
  3. Add
    zabbix ALL=(ALL) NOPASSWD: /usr/sbin/smartctl -d ata -A /dev/sd?
    zabbix ALL=(ALL) NOPASSWD: /sbin/mdadm -D /dev/md*
    
    to QNAP:/usr/etc/sudoers
  4. Reload QNAP Zabbix-agent
  5. Import Templates XML on Zabbix server
  6. Configure QNAP host