check_redfish icon indicating copy to clipboard operation
check_redfish copied to clipboard

Auto-ignore missing power supplies for blade chassis (HPE Synergy etc.)

Open HHerrgesell opened this issue 3 months ago • 2 comments

In some environments, systems are by design not reporting any power supplies on the chassis level, because the power is entirely managed by an external enclosure. This is the case, for example, with HPE blade servers (e.g. Synergy), where the frame/enclosure provides and manages the PSUs and the individual blade chassis never “sees” any power supplies.

Currently, check_redfish treats the absence of any power supplies as an issue and reports UNKNOWN unless --ignore_missing_ps is explicitly set. For blade systems this is misleading, because there is nothing actually wrong – the hardware simply does not expose PSUs at that level.

This PR introduces the following behavior:

Detects chassis with ChassisType == "Blade" via the Redfish chassis resource.

Automatically sets the ignore_missing_ps behavior for such blade chassis.

Keeps power consumption monitoring via PowerControl working as before.

Avoids raising an issue for “missing” PSUs in scenarios where the enclosure is responsible for power delivery.

From an operator’s perspective this makes the default behavior more correct and less noisy for blade systems, without requiring per‑host --ignore_missing_ps configuration.

HHerrgesell avatar Dec 04 '25 15:12 HHerrgesell

Hey, thank you very much, this is a great idea. Would you be able to change the target to development branch? Thank you

bb-Ricardo avatar Dec 06 '25 09:12 bb-Ricardo

Hi, do you mean next-release with development branch? I've Updated the PR, but I'm unsure if its correct since I now see multiple commits. I am not familar with PRand GitHub

HHerrgesell avatar Dec 09 '25 12:12 HHerrgesell