StorCLI2.exe support (now Broadcom)

It been a long time since megaraid was replaces with storcli. Nowdays it’s storcli2. Checkmk’s storcli.bat still works if you update the StorCli var. But it’s output is not parsable by CheckMK 2.3

C:\Program Files\StorCLI>storcli2.exe  /call/eall/sall show
CLI Version = 008.0010.0000.0010 June 14, 2024
Operating system = Windows Server 2022
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.


Drive Information :
=================

-------------------------------------------------------------------------------------------------------
EID:Slt PID State Status DG      Size Intf Med SED_Type   SeSz Model            Sp LU/NS Count Alt-EID
-------------------------------------------------------------------------------------------------------
62:1     37 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:2     38 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:3     39 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:4     40 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:5     41 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:6     42 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:7     43 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:8     44 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:9     45 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:10    46 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:11    47 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
62:12    48 JBOD  Good   -  6.985 TiB SAS  SSD Enterprise 512B KPM7VRUG7T68     -            1 88
-------------------------------------------------------------------------------------------------------


LU/NS Information :
=================

------------------------------------
PID LUN/NSID Index Status      Size
------------------------------------
 37 0/-          0 Good   6.985 TiB
 38 0/-          0 Good   6.985 TiB
 39 0/-          0 Good   6.985 TiB
 40 0/-          0 Good   6.985 TiB
 41 0/-          0 Good   6.985 TiB
 42 0/-          0 Good   6.985 TiB
 43 0/-          0 Good   6.985 TiB
 44 0/-          0 Good   6.985 TiB
 45 0/-          0 Good   6.985 TiB
 46 0/-          0 Good   6.985 TiB
 47 0/-          0 Good   6.985 TiB
 48 0/-          0 Good   6.985 TiB
------------------------------------

EID-Enclosure Persistent ID|Slt-Slot Number|PID-Persistent ID|DG-DriveGroup
UConf-Unconfigured|UConfUnsp-Unconfigured Unsupported|Conf-Configured|Unusbl-Unusable
GHS-Global Hot Spare|DHS-Dedicated Hot Spare|UConfShld-Unconfigured Shielded|
ConfShld-Configured Shielded|Shld-JBOD Shielded|GHSShld-GHS Shielded|DHSShld-DHS Shielded
UConfSntz-Unconfigured Sanitize|ConfSntz-Configured Sanitize|JBODSntz-JBOD Sanitize|GHSSntz-GHS Sanitize
DHSSntz-DHS Sanitize|UConfDgrd-Unconfigured Degraded|ConfDgrd-Configured Degraded|JBODDgrd-JBOD Degraded
GHSDgrd-GHS Degraded|DHSDgrd-DHS Degraded|Various-Multiple LU/NS Status|Med-Media|SED-Self Encryptive Drive
SeSz-Logical Sector Size|Intf-Interface|Sp-Power state|U-Up/On|D-Down/PowerSave|T-Transitioning|F-Foreign
NS-Namespace|LU-Logical Unit|LUN-Logical Unit Number|NSID-Namespace ID|Alt-EID-Alternate Enclosure Persistent ID




C:\Program Files\StorCLI>

Any change to get this supported?

edit:
see CheckMK agent not working with storcli: "Deprecated command. Please use the new syntax" - #5 by drosera

Seems to be asked before.

1 Like

A least something did happen: