Oracle/Sun Solaris - Tape Drives
Description
This connector provides physical disk information (status and error count) on Sun Solaris systems through the iostat -En utility. Supports only official Sun disks.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Superseded Connector
This connector is superseded by:
Target
Typical platform: Sun/Oracle Servers
Operating system: Oracle Solaris
Prerequisites
Leverages: Sun Solaris system commands (iostat, dd)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t solaris -c +SunTapeDrives --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: solaris
connectors: [ +SunTapeDrives ] # 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 Solaris - Tape Drives 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: SunOS, Solaris
- The command below succeeds on the monitored host:
- Command:
/usr/bin/iostat -En - Output contains:
^rmt/.*Soft [Ee]rrors.*Hard [Ee]rrors.*Transport [Ee]rrors(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| tape_drive | hw.errors{hw.type="tape_drive"}hw.status{hw.type="tape_drive", state="present"} | hw.parent.typeidmodelnameserial_numbervendor |