Back to the list of connectors

Oracle/Sun Solaris - Environment (prtdiag, lom)

Connector file name: MS_HW_SunPrtdiag.hdf

This connector is superseded by:

Description

Gives environmental information (temperatures, fans, etc.) on several Sun platforms through the prtdiag or lom utility

Target

Typical platform: Oracle/Sun

Operating system: Oracle Solaris

Prerequisites

Leverages: Sun Solaris system commands (prtdiag, lom, etc.)

Technology and protocols: System Commands

This connector requires advanced privileges on the managed host for the command below:

  • /usr/sbin/lom

This connector therefore needs to run as root or you need to configure a privilege-escalation mechanism like sudo on the managed host to allow the monitoring account to run the command listed above.

Sample of /etc/sudoers to allow the above command to be run as root by the patrol account:

patrol ALL=(root) NOPASSWD: /usr/sbin/lom

Connector Activation Criteria

The Oracle/Sun Solaris - Environment (prtdiag, lom) 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: /bin/uname -m
    • Output contains: ^sun4u[s]?$ (regex)
  • The command below succeeds on the monitored host
    • Command: /bin/ls /usr/platform/`/bin/uname -i`/sbin/prtdiag
    • Output contains: ^/usr/platform/.*/sbin/prtdiag$ (regex)

Monitors

Object Type Discovered Properties Collected Parameters
Enclosure (MS_HW_ENCLOSURE)
  • Model
  • Type
    Fan (MS_HW_FAN)
    • Fan Type/Location
    • Status
    Memory Module (MS_HW_MEMORY)
    • Size
    • Status
    Power Supply (MS_HW_POWERSUPPLY)
      • Status
      Temperature Sensor (MS_HW_TEMPERATURE)
      • Alarm Threshold
      • Sensor Type/Location
      • Warning Threshold
      • Status
      • Temperature
      Voltage Sensor (MS_HW_VOLTAGE)
      • Lower Threshold
      • Upper Threshold
      • Voltage Type
      • Status
      • Voltage
      Keywords:
      hardware hdf patrol connectors