I'm working on a script using StorCLI (Ver 1.21.06).
When I run:
I get (abbreviated):
Status Code = 0 Status = Success
As well as:
Q1. I'm curious to know what the Status/Status code actually means: does this have anything to do with the status of the controller or just that the command executed successfully?
Q2: how exhaustive is the "./storcli show" command? i.e. is the "Hlth: Opt" result including physical disk health or just controller health (battery, etc.)?
The reference manual is pretty terse, with only the following description of the
show command as follows:
This command shows a summary of controller and controller-associated information for the system. The summary includes the number of controllers, the host name, the operating system information, and the overview of existing configuration.
I'm looking for a means to monitor an LSI RAID array on a Lenovo TD340 server running ESXi (free version). Server has an IMM (first gen), which has no visibility into the LSI RAID card installed.
MegaRAID is unreliable, as the discovery/querying takes an excess of 30 minutes to finish "finding" the ESXi server, which then results in another undocumented amount of time (exceeding an hour) for it to finish logging in (where you're in limbo wondering if the greyed out "Login" button actually did anything).
I simply don't trust MegaRAID Manager at this point to have stable enough visibility into the ESXi host/LSI RAID status to be a reliable means of monitoring.
So StorCLI works natively on ESXi, where I'm going to write a script to run
storcli show (ideally) and parse the output, and writing to a log and sending an alert.