Back to the list of connectors[1]

Oracle/Sun Solaris - Processors (psrinfo) Enterprise

Description

This connector discovers and monitors the processor in any Sun SPARC-based Solaris machine through the psrinfo system command.

This connector is superseded by:

hardware[6] solaris[7] sun[8]

Target

Typical platform: Oracle/Sun

Operating system: Oracle Solaris

Prerequisites

Leverages: Sun Solaris system commands (psrinfo, etc.)

Technology and protocols: Command Lines

Examples

CLI

metricshub HOSTNAME -t solaris -c +SunPsrinfo --ssh -u USER

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: solaris
        connectors: [ +SunPsrinfo ] # 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 - Processors (psrinfo) 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 or Oracle Solaris
  • The command below succeeds on the monitored host
    • Command: /usr/sbin/psrinfo
    • Output contains: on-line (regex)

Metrics

Type Collected Metrics Specific Attributes
cpu
  • hw.cpu.speed.limit{limit_type="max"}
  • hw.status{hw.type="cpu", state="degraded|failed|ok"}
  • hw.status{hw.type="cpu", state="present"}
  • hw.parent.type
  • id
  • model
  • name
No results.