Skip to main content

LSI MegaCli

Description

This connector provides information about physical disks and array status.

fujitsu hardware lsi windows

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Superseded Connector

Target

Typical platforms: Microsoft Windows, LSI

Operating system: Microsoft Windows

Prerequisites

Leverages: Windows system commands (MegaCli / CmdTool2)

Technology and protocols: Commands

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:

  • The device type must be one of: NT
  • 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

TypeCollected MetricsSpecific Attributes
batteryhw.status{hw.type="battery", state="present"}hw.parent.id
hw.parent.type
id
name
type
disk_controllerhw.status{hw.type="disk_controller", state="present"}bios_version
controller_number
firmware_version
hw.parent.type
id
model
name
serial_number
logical_diskhw.logical_disk.limit
hw.status{hw.type="logical_disk", state="degraded|failed|ok"}
hw.parent.id
hw.parent.type
id
name
raid_level
physical_diskhw.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