Monitor RAID and disk status with storcli64 - LSI MegaRAID: State of Physical Disks (via StorCLI)

Depending on your CheckMK version (CEE or not) you have to deploy the plugin.

Wie the bakery it’s very easy (Agent rules → LSI Raid Controller Status via StorCLI)

Without agent bakery:
Copy the “storcli.bat” on the server with the MegaRaid to “C:\Program Files (x86)\checkmk\agent\plugins” and change the entry like this:

SET "StorCli=C:\Program Files\MR Storage Administrator\StorCLI\bin\storcli64.exe"

Maybe check before if the folder and file exist

After discovery you should see the gathered information

Here is the full storcli.bat:

@ECHO off & setlocal EnableDelayedExpansion
set CMK_VERSION="2.2.0p31"
REM ***
REM * plugin to to monitor RAID status via StorCLI utility
REM * customize StorCli path to your needs
REM ***

SET "StorCli=C:\Program Files\MR Storage Administrator\StorCLI\bin\storcli64.exe"

IF NOT EXIST !StorCli! GOTO END

ECHO ^<^<^<storcli_pdisks^>^>^>
"!StorCli!" /call/eall/sall show
ECHO ^<^<^<storcli_vdrives^>^>^>
"!StorCli!" /call/vall show

:END