Back to the list of connectors

Oracle/Sun Solaris - Environment (prtdiag, lom)

Description

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

Connector file name: MS_HW_SunPrtdiag.hdf

This connector is superseded by:

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 Collected Parameters Discovered Properties
Enclosure (MS_HW_ENCLOSURE)
  • Model
  • Type
Fan (MS_HW_FAN)
  • Status
  • Fan Type/Location
Memory Module (MS_HW_MEMORY)
  • Status
  • Size
Power Supply (MS_HW_POWERSUPPLY)
  • Status
    Temperature Sensor (MS_HW_TEMPERATURE)
    • Status
    • Temperature
    • Alarm Threshold
    • Sensor Type/Location
    • Warning Threshold
    Voltage Sensor (MS_HW_VOLTAGE)
    • Status
    • Voltage
    • Lower Threshold
    • Upper Threshold
    • Voltage Type
    No results.