Hello everyone,
So, based on this thread I created my own script for monitoring RAID controllers on windows systems. Maybe it will be useful for someone else. I don't know which controllers is possible monitor with this, as I have only Intel RAID controllers here, but if it's possible to use megacli, cmdtool for this, script should work (I hope).
Discovery script uses trapper items, so I'm running this script using windows scheduler
LLD Script requirements:
Script for checking items.
With these scripts and template zabbix monitors physical disks, RAID volumes and BBUs. Triggers are also defined. All items (except discovery) are Zabbix Agent active items. It will be great to monitor also adapter log for critical events, but I just didn't figured out yet, how to do it.
Items, defined in template:
physical disks
logical disks
adapters
BBUs
You can download template and scripts from github
p.s. Sorry for my poor English
So, based on this thread I created my own script for monitoring RAID controllers on windows systems. Maybe it will be useful for someone else. I don't know which controllers is possible monitor with this, as I have only Intel RAID controllers here, but if it's possible to use megacli, cmdtool for this, script should work (I hope).
Discovery script uses trapper items, so I'm running this script using windows scheduler
LLD Script requirements:
- Active Zabbix Agent, set paths to zabbix_sender and config in script (script uses zabbix_sender & zabbix agent config to send data to discovery items)
- CmdTool2 (or MegaCLI, or smth like this. I got this from firmware update package from intel website, set path in script)
- Powershell on server (With execution policy, which allows local script execution)
Script for checking items.
- The same CmdTool2. Set path to this tool in script ($CLI variable)
With these scripts and template zabbix monitors physical disks, RAID volumes and BBUs. Triggers are also defined. All items (except discovery) are Zabbix Agent active items. It will be great to monitor also adapter log for critical events, but I just didn't figured out yet, how to do it.
Items, defined in template:
physical disks
- disk state (unconfigured(good)/optimal/hotspare)
- media errors
- raw size
- inquiry data (disk model and firmware)
- predictive errors
logical disks
- vdisk state
- vdisk size
adapters
- firmware version
- model of adapter
BBUs
- State of charge
- BBU state
- BBU Capacity (current & design)
You can download template and scripts from github
p.s. Sorry for my poor English

Discovery script...there is no any specific schedule, you can run it once an hour, 12 hours, 24 hours, etc. It depends on your environment.
Comment