Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage controller vol drives ilo5 ver3.x #92

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

ibrahimkk-moideen
Copy link
Collaborator

Changes to physical disk and logical drives metrics to accommodate responses from iLO5 fw ver.3.04.

Testing results:

# TYPE redfish_disk_drive_status gauge
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="0",location="Slot=12:Port=2:Box=1:Bay=1",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxR"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="1",location="Slot=12:Port=2:Box=1:Bay=2",name="HPE 8TB 12G SAS HDD",serialnumber="Wxxxxxx0"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="10",location="Slot=12:Port=1:Box=3:Bay=3",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxX"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="11",location="Slot=12:Port=1:Box=3:Bay=4",name="HPE 8TB 12G SAS HDD",serialnumber="Wxxxxxx4"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="2",location="Slot=12:Port=2:Box=1:Bay=4",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxV"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="3",location="Slot=12:Port=2:Box=1:Bay=3",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxY"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="4",location="Slot=12:Port=1:Box=2:Bay=1",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxQ"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="5",location="Slot=12:Port=1:Box=2:Bay=2",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxY"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="6",location="Slot=12:Port=1:Box=2:Bay=3",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxD"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="7",location="Slot=12:Port=1:Box=2:Bay=4",name="HPE 8TB 12G SAS HDD",serialnumber="Wxxxxxx4"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="8",location="Slot=12:Port=1:Box=3:Bay=1",name="HPE 8TB 12G SAS HDD",serialnumber="WxxxxxxN"} 1
redfish_disk_drive_status{capacityMiB="xxxxxx",chassisModel="dl380",chassisSerialNumber="xxxxxx",id="9",location="Slot=12:Port=1:Box=3:Bay=2",name="HPE 8TB 12G SAS HDD",serialnumber="Wxxxxxx8"} 1
# HELP redfish_ilo_selftest_status Current ilo selftest status 1 = OK, 0 = BAD
# TYPE redfish_ilo_selftest_status gauge
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="ASICFuses"} 1
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="EEPROM"} 1
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="EmbeddedFlash"} 1
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="HostRom"} 1
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="NVRAMData"} 1
redfish_ilo_selftest_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",name="SupportedHost"} 1
# HELP redfish_logical_drive_status Current Logical Drive Raid 1 = OK, 0 = BAD, -1 = DISABLED
# TYPE redfish_logical_drive_status gauge
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 1",name="MR Volume 1",raid="None",volumeuniqueidentifier="600xxxxxxxxx7A"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 17",name="MR Volume 17",raid="None",volumeuniqueidentifier="6xxxxxxxxxBD27"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 18",name="MR Volume 18",raid="None",volumeuniqueidentifier="6xxxxxxxxx4B2E"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 19",name="MR Volume 19",raid="None",volumeuniqueidentifier="6xxxxxxxxxB367"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 2",name="MR Volume 2",raid="None",volumeuniqueidentifier="600xxxxxxxxxCA"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 20",name="MR Volume 20",raid="None",volumeuniqueidentifier="6xxxxxxxxx17AA"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 3",name="MR Volume 3",raid="None",volumeuniqueidentifier="600xxxxxxxxxBD"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 33",name="MR Volume 33",raid="None",volumeuniqueidentifier="6xxxxxxxxxFB2B"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 34",name="MR Volume 34",raid="None",volumeuniqueidentifier="6xxxxxxxxx47CF"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 35",name="MR Volume 35",raid="None",volumeuniqueidentifier="6xxxxxxxxx0FB4"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 36",name="MR Volume 36",raid="None",volumeuniqueidentifier="6xxxxxxxxxCB13"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="MR Volume 4",name="MR Volume 4",raid="None",volumeuniqueidentifier="600xxxxxxxxx39"} 1
redfish_logical_drive_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",logicaldrivename="VD_1",name="NS Volume",raid="RAID1",volumeuniqueidentifier="005xxxxxx01"} 1

@ibrahimkk-moideen ibrahimkk-moideen linked an issue Aug 26, 2024 that may be closed by this pull request
@ibrahimkk-moideen
Copy link
Collaborator Author

Storage controller status is fixed as well.

# HELP redfish_storage_controller_status Current storage controller status 1 = OK, 0 = BAD
# TYPE redfish_storage_controller_status gauge
redfish_storage_controller_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",firmwareVersion="52.26.3-5379",location="Slot=12",model="HPE Mxxxxxx Gen10+",name="HPE MRxxxxx Gen10+"} 1
redfish_storage_controller_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",firmwareVersion="HPK0",location="Box 6 Bay 1",model="MxxxxxxxT",name="NVMe Storage Controller"} 1
redfish_storage_controller_status{chassisModel="dl380",chassisSerialNumber="xxxxxx",firmwareVersion="HPK0",location="Box 6 Bay 2",model="MxxxxxxxT",name="NVMe Storage Controller"} 1

Copy link
Collaborator

@derrick-dacosta derrick-dacosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ibrahimkk-moideen ibrahimkk-moideen merged commit 4c6c78c into main Aug 27, 2024
3 checks passed
@derrick-dacosta derrick-dacosta deleted the storage_controller_vol_drives_ilo5_ver3.x branch September 17, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add storage controller Redfish response from iLO5 ver.3.x
2 participants