Back to the list of connectors

LSI MegaCli

Description

Gives physical disk and array status.

Connector ID: LSIMegaCliWindows

This connector is superseded by:

Target

Typical platform: Any system with LSI MegaCli

Operating system: Microsoft Windows

Prerequisites

Leverages: Windows system commands (MegaCli / CmdTool2)

Technology and protocols: System Commands

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

Examples

CLI

hws HOSTNAME -t win -f LSIMegaCliWindows --wmi -u USER

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: win
  selectedConnectors: [ LSIMegaCliWindows ] # Optional, to load only this connector
  wmi:
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-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 (Labels)
Disk Controller
  • hw.status{hw.type="disk_controller",state="present"}
  • bios_version
  • firmware_version
  • model
  • serial_number
Battery
  • hw.status{hw.type="battery",state="present"}
  • type
Logical Disk, RAID
  • hw.logical_disk.limit
  • hw.status{hw.type="logical_disk",state="ok|degraded|failed"}
  • hw.status{hw.type="logical_disk",state="present"}
  • raid_level
Physical Disk
  • hw.physical_disk.size
  • hw.status{hw.type="physical_disk",state="ok|degraded|failed"}
  • hw.status{hw.type="physical_disk",state="present"}
  • info
  • model
No results.