IBM AIX - Environment (uesensor)
Description
This connector provides hardware environment information on IBM AIX systems (temperature sensors, voltage sensors, fans, power supplies).
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Superseded Connector
This connector is superseded by:
Target
Typical platform: IBM POWER
Operating system: IBM AIX
Prerequisites
Leverages: IBM AIX system commands (uesensor)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t linux -c +IBMAIXUeSensor --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +IBMAIXUeSensor ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The IBM AIX - Environment (uesensor) 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: RS6000
- The command below succeeds on the monitored host:
- Command:
/bin/ls /usr/lpp/diagnostics/bin/uesensor - Output contains:
^/usr/lpp/diagnostics/bin/uesensor$(regex)
- Command:
- The command below succeeds on the monitored host:
- Command:
/usr/lpp/diagnostics/bin/uesensor -a - Output contains:
^3 \|^9001 \|^9002 \|^9004(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| fan | hw.fan.speedhw.fan.speed.limit{limit_type="low.critical"}hw.fan.speed.limit{limit_type="low.degraded"}hw.status{hw.type="fan", state="present"} | hw.parent.typeidnamesensor_location |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.typeidnamepower_supply_type |
| temperature | hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"} | hw.parent.typeidnamesensor_location |
| voltage | hw.status{hw.type="voltage", state="degraded|failed|ok"}hw.status{hw.type="voltage", state="present"}hw.voltage | hw.parent.typeidnamesensor_location |