Package org.metricshub.ipmi.client
Class ChassisStatus
java.lang.Object
org.metricshub.ipmi.client.ChassisStatus
The state of the chassis: power, faults, intrusion, identify LED (Get Chassis Status, IPMI 2.0 table 28-3).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTells whether a cooling or fan fault was detected.data()Returns the reply of the BMC, as the protocol core decodes it.booleanTells whether a drive fault was detected.booleanTells whether the front panel is locked out.Returns the state of the chassis identify LED.booleanTells whether the chassis interlock is active: the system is powered down because a panel is open.booleanTells whether a chassis intrusion is active.Returns what caused the last power-down or power-up: several causes can be flagged at once.booleanTells whether the last power control command failed.booleanTells whether a power fault is active.booleanpowerOn()Tells whether the system is powered on.booleanTells whether a power overload is active.Returns what the system does when AC power returns after it was lost.toString()
-
Method Details
-
powerOn
public boolean powerOn()Tells whether the system is powered on.- Returns:
- true when the system power is on
-
powerRestorePolicy
Returns what the system does when AC power returns after it was lost.- Returns:
- the power restore policy
-
lastPowerEvents
Returns what caused the last power-down or power-up: several causes can be flagged at once.- Returns:
- the causes, empty when the BMC flags none
-
powerFault
public boolean powerFault()Tells whether a power fault is active.- Returns:
- true when the power fault is active
-
powerOverload
public boolean powerOverload()Tells whether a power overload is active.- Returns:
- true when the power overload is active
-
interlock
public boolean interlock()Tells whether the chassis interlock is active: the system is powered down because a panel is open.- Returns:
- true when the interlock is active
-
powerControlFault
public boolean powerControlFault()Tells whether the last power control command failed.- Returns:
- true when the power control fault is active
-
coolingFault
public boolean coolingFault()Tells whether a cooling or fan fault was detected.- Returns:
- true when a cooling fault was detected
-
driveFault
public boolean driveFault()Tells whether a drive fault was detected.- Returns:
- true when a drive fault was detected
-
intrusion
public boolean intrusion()Tells whether a chassis intrusion is active.- Returns:
- true when the intrusion is active
-
frontPanelLockout
public boolean frontPanelLockout()Tells whether the front panel is locked out.- Returns:
- true when the front panel lockout is active
-
identifyState
Returns the state of the chassis identify LED.- Returns:
- the identify state, empty when the BMC does not report it
-
data
Returns the reply of the BMC, as the protocol core decodes it.- Returns:
- the reply to Get Chassis Status
-
toString
-