There are two templates:
- Template Server LSI RAID - provides only check for VD's status (if there any VD with 'Degraded' state);
- Template Server LSI RAID 2 - provides discovery rules for VD's / PD's with following items:
- VD status;
- PD firmware state;
- PD predictive failure status;
- PD SMART alert.
Each item have a trigger.
- Install storcli (perccli for DELL).
- Import templates from 'lsi.xml'.
- Copy 'userparameter.lsi.conf' to '/etc/zabbix/zabbix-agent.d/'.
- Copy all scripts from 'lsi' to '/opt/zabbix/lsi/'.
- Copy 'storcli' to '/etc/sudoers.d/'.
SELinux - check for avc messages and create a module.
setenforce 0
cat /var/log/audit/audit.log | grep denied | grep zabbix_agent | audit2allow -M zabbix_agent_01
semodule -i zabbix_agent_01.pp
For DELL PERC - change command path in 'storcli' and '.config'.