Oracle/Sun ZFS Storage Appliance
Description
This connector provides information about chassis, CPU, disk, fan, memory modules, PSU and PCIe cards status for ZFS Storage Appliances.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platform: Oracle ZFS
Operating system: Storage System
This connector is not available for the local host (it is applicable to remote hosts only).
Prerequisites
Leverages: Oracle ZFS Command Line (SSH)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t storage -c +SunZFSStorageAppliance --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +SunZFSStorageAppliance ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Oracle/Sun ZFS Storage Appliance 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:
maintenance hardware show - Output contains:
*NAME *STATE *MANUFACTURER *MODEL *SERIAL *(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| cpu | hw.status{hw.type="cpu", state="degraded|failed|ok"}hw.status{hw.type="cpu", state="present"} | hw.parent.idhw.parent.typeidmodelnamevendor |
| enclosure | hw.status{hw.type="enclosure", state="degraded|failed|ok"}hw.status{hw.type="enclosure", state="present"} | idmodelnameserial_numbertypevendor |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidinfoname |
| logical_disk | hw.logical_disk.limithw.logical_disk.usage{state="free"}hw.logical_disk.usage{state="used"}hw.status{hw.type="logical_disk", state="degraded|failed|ok"} | hw.parent.idhw.parent.typeidnameraid_level |
| memory | hw.status{hw.type="memory", state="degraded|failed|ok"}hw.status{hw.type="memory", state="present"} | hw.parent.idhw.parent.typeidmodelnameserial_numbervendor |
| network | hw.network.bandwidth.limithw.network.uphw.status{hw.type="network", state="present"} | device_typehw.parent.idhw.parent.typeidnamephysical_addressphysical_address_type |
| other_device | hw.status{hw.type="other_device", state="degraded|failed|ok"}hw.status{hw.type="other_device", state="present"} | additional_labeldevice_typehw.parent.idhw.parent.typeidinfoname |
| physical_disk | hw.physical_disk.sizehw.status{hw.type="physical_disk", state="degraded|failed|ok"}hw.status{hw.type="physical_disk", state="present"} | hw.parent.idhw.parent.typeidinfomodelnameserial_numbervendor |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidinfoname |