Oracle/Sun Fire F12K/F15K/F20K/F25K (SMS)
Description
This connector provides environmental information (temperatures, fans, etc.) and boards status on Sun Fire F12K, F15K, F20K and F25K servers.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platform: Sun/Oracle Servers
Operating systems: Oracle Solaris, Out-Of-Band
Prerequisites
Leverages: Sun SMS utilities installed on the System Controller (SC on F15K, etc.)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t solaris -c +SunF15K --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: solaris
connectors: [ +SunF15K ] # 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 Fire F12K/F15K/F20K/F25K (SMS) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- The device type must be one of: SunOS, Solaris, OOB
- The command below succeeds on the monitored host:
- Command:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/SUNWSMS/lib;export LD_LIBRARY_PATH;PATH=$PATH:/opt/SUNWSMS/bin;export PATH;which showplatform - Output contains:
/showplatform$(regex)
- Command:
- The command below succeeds on the monitored host:
- Command:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/SUNWSMS/lib;export LD_LIBRARY_PATH;PATH=$PATH:/opt/SUNWSMS/bin;export PATH;showplatform - Output contains:
^Platform Type: Sun Fire(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| enclosure | hw.enclosure.energyhw.enclosure.powerhw.status{hw.type="enclosure", state="present"} | idmodelnametypevendor |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidnamesensor_location |
| other_device | hw.status{hw.type="other_device", state="degraded|failed|ok"}hw.status{hw.type="other_device", state="present"} | additional_labeldevice_typehw.parent.idhw.parent.typeidname |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"}hw.temperature.limit{limit_type="low.critical"}hw.temperature.limit{limit_type="low.degraded"} | hw.parent.idhw.parent.typeidnamesensor_location |
| voltage | hw.status{hw.type="voltage", state="degraded|failed|ok"}hw.status{hw.type="voltage", state="present"}hw.voltage | hw.parent.idhw.parent.typeidnamesensor_location |