Back to the list of connectors

VMware ESXi 5 LUN (SSH)

Description

This connector discovers the LUNs of an ESX5i server. It requires SSH access to the ESX host.

Connector ID: VMwareESX5iLUNSSH

This connector is superseded by:

Target

Typical platform: VMWare ESXi

Operating systems: Linux, Out-of-Band

Prerequisites

Leverages: ESX SSH interface

Technology and protocols: System Commands

Examples

CLI

hws HOSTNAME -t linux -f VMwareESX5iLUNSSH --ssh -u USER

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: linux
  selectedConnectors: [ VMwareESX5iLUNSSH ] # Optional, to load only this connector
  ssh:
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-encrypt

Connector Activation Criteria

The VMware ESXi 5 LUN (SSH) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The command below succeeds on the monitored host
    • Command: esxcli system version get
    • Output contains: Version: [567] (regex)
  • The command below succeeds on the monitored host
    • Command: esxcli storage core path list
    • Output contains: Transport: fc (regex)

Metrics

Type Collected Metrics Specific Attributes (Labels)
LUN
  • hw.lun.paths{type="available"}
  • hw.status{hw.type="lun",state="present"}
  • array_name
Other Device
  • hw.status{hw.type="other_device",state="ok|degraded|failed"}
  • hw.status{hw.type="other_device",state="present"}
  • info
  • device_type
No results.