bb-Ricardo / check_redfish

A monitoring/inventory plugin to check components and health status of systems which support Redfish. It will also create a inventory of all components of a system.
MIT License
110 stars 30 forks source link

Request error: No array controller data returned #87

Closed ajoergensen closed 2 years ago

ajoergensen commented 2 years ago

Using check_redfish has worked for ages for monitoring our HPE Proliant servers, however we just got a couple of new ones which uses a different RAID controller than the others, now check_redfish fails with this message:

[UNKNOWN]: Request error: No array controller data returned for API URL '/redfish/v1/Systems/1//SmartStorage/ArrayControllers?$expand=.'
Server: HPE Proliant DL365 Gen10 Plus
ILO5 firmware: 2.65
Controller: SmartArray MR416i-a
Logical volume configured: RAID1 with two SSD

We have other DL365 Gen10 Plus which works as expected but they are equipped with SmartArray P408i

Mockup is available.

bb-Ricardo commented 2 years ago

Ui, this is of course not meant to happen.

Can you please send me the Mockup and I will add support for these Raid Controllers.

Thank you.

ajoergensen commented 2 years ago

Mockup sent.

bb-Ricardo commented 2 years ago

Hi,

thank you for the MockUp. I pushed a new 'next-release' commit to improve detection of Storage components on newer HPE systems.

can you try it out?

ajoergensen commented 2 years ago

Looks good

[OK]: Storage controller HPE MR416i-a Gen10+ Slot 12 (FW: 52.16.3-3913) status is: OK
[OK]: Physical Drive 240GB 6G SATA SSD Port=2I:Box=1:Bay=2 (VK000240GXAWE / SSD / SATA) 240.06GiB status: OK
[OK]: Physical Drive 240GB 6G SATA SSD Port=2I:Box=1:Bay=1 (VK000240GXAWE / SSD / SATA) 240.06GiB status: OK
[OK]: Logical Drive MR Volume (MR Volume) 240GiB (RAID1) status: OK

Thank you.

bb-Ricardo commented 2 years ago

great