Back to the list of connectors[1]

LSI MegaCli

Description

This connector provides information about physical disks and array status.

This connector is superseded by:

enterprise[6] fujitsu[7] hardware[8] lsi[9] windows[10]

Target

Typical platform: Any system with LSI MegaCli

Operating system: Microsoft Windows

Prerequisites

Leverages: Windows system commands (MegaCli / CmdTool2)

Technology and protocols: Command Lines

This connector is not available for the local host (it is applicable to remote hosts only).

This connector is not available for remote hosts (it is applicable to the local host only).

Examples

CLI

metricshub HOSTNAME -t win -c +LSIMegaCliWindows --wmi -u USER

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: win
        connectors: [ +LSIMegaCliWindows ] # Optional, to load only this connector
        protocols:
          wmi:
            username: <USERNAME> # Change with actual credentials
            password: <PASSWORD> # Encrypted using metricshub-encrypt

Connector Activation Criteria

The LSI MegaCli connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • Operating System is Microsoft Windows
  • The command below succeeds on the monitored host
    • Command: MegaCli -v -NoLog
    • Output contains: Exit Code: 0x00 (regex)
  • The command below succeeds on the monitored host
    • Command: MegaCli -PDList -aALL -NoLog
    • Output contains: [Pp][Dd] [Tt]ype (regex)

Metrics

Type Collected Metrics Specific Attributes
battery
  • hw.status{hw.type="battery", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
  • type
disk_controller
  • hw.status{hw.type="disk_controller", state="present"}
  • bios_version
  • controller_number
  • firmware_version
  • hw.parent.type
  • id
  • model
  • name
  • serial_number
logical_disk
  • hw.logical_disk.limit
  • hw.status{hw.type="logical_disk", state="degraded|failed|ok"}
  • hw.status{hw.type="logical_disk", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
  • raid_level
physical_disk
  • hw.physical_disk.size
  • hw.status{hw.type="physical_disk", state="degraded|failed|ok"}
  • hw.status{hw.type="physical_disk", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • model
  • name
No results.