VMware ESXi 5 LUN (SSH)
Description
This connector discovers the LUNs of an ESX5i server. It requires SSH access to the ESX host.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Superseded Connector
This connector is superseded by:
Target
Typical platform: VMWare
Operating systems: Linux, Out-Of-Band
Prerequisites
Leverages: ESX SSH interface
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t linux -c +VMwareESX5iLUNSSH --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +VMwareESX5iLUNSSH ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-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)
- Command:
- The command below succeeds on the monitored host:
- Command:
esxcli storage core path list - Output contains:
Transport: fc(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| lun | hw.lun.pathshw.status{hw.type="lun", state="present"} | array_namehw.parent.typeidname |
| other_device | hw.status{hw.type="other_device", state="degraded|failed|ok"}hw.status{hw.type="other_device", state="present"} | device_typehw.parent.typeidinfoname |