Zabbix script and template for Windows software RAID monitoring (striped and spanned volumes, mirrored volumes and RAID-5 sets on dynamic disks)
It's a very simple template and script for Windows software RAID monitoring that uses Microsoft Virtual Disk Service to get storage status info. It could be a Zabbix Discovery rule but it's version shown here is enough for my purposes) Just checking status of all RAID that exist at the machine and if at least one of them have not HEALTHY status trigger will send appropriate notification.
Just place pwsh script somewhere at the server where you want to monitor RAID and add UserParameter to zabbix agent config, for example:
UserParameter=raid_status, powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent 2\raid_status.ps1"