Back to the list of connectors
Oracle/Sun Solaris - Environment (prtpicl)
Description
Gives environmental information (temperatures, fans, etc.) on several Sun platforms through the prtpicl utility. This connector is mainly to be used on Solaris 10 systems.
Connector ID: SunPrtpicl
This connector is superseded by:
This connector supersedes:
Target
Typical platform: Oracle/Sun
Operating system: Oracle Solaris
Prerequisites
Leverages: Sun Solaris system commands (prtpicl, etc.)
Technology and protocols: System Commands
Examples
CLI
hws HOSTNAME -t solaris -f SunPrtpicl --ssh -u USER
hws-config.yaml
hosts:
- host:
hostname: <HOSTNAME> # Change with actual host name
type: solaris
selectedConnectors: [ SunPrtpicl ] # 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 - Environment (prtpicl) 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/ls /usr/sbin/prtpicl
- Output contains:
^/usr/sbin/prtpicl$
(regex)
- Command:
- The command below succeeds on the monitored host
- Command:
/usr/sbin/prtpicl -v -c temperature-sensor;/usr/sbin/prtpicl -v -c temperature-indicator
- Output contains:
\(Temperature[ ]+[0-9]\)\|\(Condition[ ]+[A-Za-z]\)
(regex)
- Command:
- The command below succeeds on the monitored host
- Command:
PRTPICLCOUNT=`pgrep prtpicl|wc -l` ; if /bin/test $PRTPICLCOUNT -lt 30; then echo MSHW_prtld_OK; else echo $PRTPICLCOUNT prtpicl processes running - suspect prtld service failure; fi
- Output contains:
MSHW_prtld_OK
(regex)
- Command:
Metrics
Type | Collected Metrics | Specific Attributes (Labels) |
---|---|---|
Enclosure |
|
|
Fan |
|
|
LED |
|
|
Temperature Sensor |
|
|
Voltage Sensor |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.