Back to the list of connectors

Oracle/Sun Solaris - Tape Drives

Description

Gives physical disk information (status and error count) on Sun Solaris systems through the iostat -En utility. Supports only official Sun disks.

Connector ID: SunTapeDrives

This connector is superseded by:

Target

Typical platform: Oracle/Sun

Operating system: Oracle Solaris

Prerequisites

Leverages: Sun Solaris system commands (iostat, dd)

Technology and protocols: System Commands

Examples

CLI

hws HOSTNAME -t solaris -f SunTapeDrives --ssh -u USER

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: solaris
  selectedConnectors: [ SunTapeDrives ] # Optional, to load only this connector
  ssh:
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-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:

  • Operating System is Oracle 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)

Metrics

Type Collected Metrics Specific Attributes (Labels)
Tape Drive
  • hw.errors{hw.type="tape_drive"}
  • hw.status{hw.type="tape_drive",state="present"}
  • model
  • serial_number
  • vendor
No results.