Skip to main content

object-oriented API around the MegaCLI tool for administrating LSI RAID cards

Project description

If you have any LSI RAID cards in your infrastructure which predate the acquisition of 3ware, you are undoubtedly familiar with MegaCli64, the horrible program which LSI provides for administrating these cards. Its lack of user-friendliness is legendary. Some egregious examples:

  • case sensitivity + inconsistent case (example: /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL)
  • wildly inconsistent, hard-to-parse output (BBU GasGauge Status: 0x0128)
  • misleading summary information (components like BBUs will often simultaneously report State: Optimal and Pack is about to fail & should be replaced, which seems like they should never occur at the same time)

This library seeks to wrap MegaCli and MegaCli64 and provide an object-oriented interface to see what the heck is actually going on with your controller.

At this time, it doesn’t support CHANGING anything, just displaying data. This makes it suitable to use in, e.g., nagios checks, but you still have to remember how to actually change settings. That might change in the future.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymegacli-0.1.5.3.tar.gz (6.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page