Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-27058

HPE iLO by HTTP creates unsupported items for nvme drives

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.19
    • Templates (T)
    • FreeBSD 14.3-RELEASE
      Zabbix Server 7.0.18

      Steps to reproduce:

      1. HPE Proliant DL325 Gen 11 server with HPE NS204i-u boot array and 1 or more NVMe disks
      2. Add HPE iLO by HTTP template to host
      3. Run storage and drives discovery

      Result:

      Preprocessing failed for:
       {"@odata.type":"#Storage.v1_12_0.Storage","@odata.context":"/redfish/v1/$metadata#Storage.Storage...
      1. Failed: cannot extract value from json by path "$.Status.HealthRollup": no data matches the specified path
      Preprocessing failed for: {"Location":[

      {"InfoFormat":"Box:Bay","Info":"1:5"}

      ],"PhysicalLocation":{"PartLocation":

      {"Location... 1. Failed: cannot extract value from json by path "$.StatusIndicator": no data matches the specified path

      Example data from API response:

      {
      "@odata.context": "/redfish/v1/$metadata#Storage.Storage",
      "@odata.id": "/redfish/v1/Systems/1/Storage/DA000004",
      "@odata.type": "#Storage.v1_12_0.Storage",
      "Id": "DA000004",
      "Controllers":
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DA000004/Controllers" }
      
      ,
      "Drives": [
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DA000004/Drives/DA000004/" }
      
      ],
      "Links": {
      "Enclosures": [
      
      { "@odata.id": "/redfish/v1/Chassis/1" }
      
      ]
      },
      "Name": "NVMe Storage System",
      "Status":
      
      { "Health": "OK", "State": "Enabled" }
      
      ,
      "StorageControllers": [
      {
      "@odata.id": "/redfish/v1/Systems/1/Storage/DA000004#/StorageControllers/0/",
      "FirmwareVersion": "HPK4",
      "Identifiers": [
      
      { "DurableName": "00:25:38:C3:41:00:65:07", "DurableNameFormat": "EUI" }
      
      ],
      "Location": {
      "PartLocation":
      
      { "LocationOrdinalValue": 2, "LocationType": "Bay", "ServiceLabel": "Embedded:Port=5A:Box=1:Bay=2" }
      
      },
      "MemberId": "0",
      "Model": "VK001920KYDPU",
      "Name": "PM9A3",
      "PCIeInterface":
      
      { "LanesInUse": 4, "MaxLanes": 4, "MaxPCIeType": "Gen4", "PCIeType": "Gen4" }
      
      ,
      "SerialNumber": "S6T1NA0X301805",
      "Status":
      
      { "Health": "OK", "State": "Enabled" }
      
      ,
      "SupportedControllerProtocols": [
      "PCIe"
      ],
      "SupportedDeviceProtocols": [
      "NVMe"
      ]
      }
      ],
      "systemHostname": "",
      "systemType": "Physical",
      "systemId": "1"
      },
      {
      "@odata.etag": "W/\"5867b5b8\"",
      "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000",
      "@odata.type": "#Storage.v1_15_0.Storage",
      "Id": "DE042000",
      "Name": "HPE NS204i-u Gen11 Boot Controller",
      "Actions": {
      "#Storage.ResetToDefaults":
      
      { "target": "/redfish/v1/Systems/1/Storage/DE042000/Actions/Storage.ResetToDefaults", "[email protected]": [ "ResetAll", "PreserveVolumes" ] }
      
      },
      "Status":
      
      { "State": "Enabled", "HealthRollup": "OK" }
      
      ,
      "AutoVolumeCreate": "RAID1",
      "[email protected]": 2,
      "Drives": [
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Drives/1" }
      
      ,
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Drives/2" }
      
      ],
      "Volumes":
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Volumes" }
      
      ,
      "Controllers":
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Controllers" }
      
      ,
      "systemHostname": "",
      "systemType": "Physical",
      "systemId": "1"
      }
      

       From this exampe we see that one storage instance has status.healthRollup while the other doesn't. Probably because one is the m.2 controller with two disks while the other is a single nvme disk.

      Under drives we have these two instances:

      {
      "@odata.context": "/redfish/v1/$metadata#Drive.Drive",
      "@odata.id": "/redfish/v1/Systems/1/Storage/DA000007/Drives/DA000007/",
      "@odata.type": "#Drive.v1_16_0.Drive",
      "Id": "DA000007",
      "Actions": {
      "#Drive.Reset":
      
      { "[email protected]": [ "ForceOff", "ForceOn", "PowerCycle" ], "target": "/redfish/v1/Systems/1/Storage/DA000007/Drives/DA000007/Actions/Drive.Reset/" }
      
      },
      "CapacityBytes": 1920383410176,
      "EncryptionStatus": "Unencrypted",
      "FailurePredicted": false,
      "Identifiers": [
      
      { "DurableName": "00:25:38:C3:41:00:65:16", "DurableNameFormat": "EUI" }
      
      ],
      "Location": [
      
      { "Info": "1:4", "InfoFormat": "Box:Bay" }
      
      ],
      "LocationIndicatorActive": false,
      "Manufacturer": "Samsung",
      "MediaType": "SSD",
      "Model": "VK001920KYDPU",
      "Name": "Secondary Storage Device",
      "Oem": {
      "Hpe": {
      "@odata.context": "/redfish/v1/$metadata#HpeiLODriveExt.HpeiLODriveExt",
      "@odata.type": "#HpeiLODriveExt.v2_0_1.HpeiLODriveExt",
      "CurrentTemperatureCelsius": 16,
      "DriveStatus":
      
      { "Health": "OK", "State": "Enabled" }
      
      ,
      "HealthUpdated": "Dynamic",
      "NVMeId": "144d_VK001920KYDPU_S6T1NA0X301820",
      "PowerOnHours": 159,
      "TemperatureStatus":
      
      { "Health": "OK", "State": "Enabled" }
      
      ,
      "WearStatus": "OK"
      }
      },
      "Operations": [],
      "PhysicalLocation": {
      "PartLocation":
      
      { "LocationOrdinalValue": 4, "LocationType": "Bay", "ServiceLabel": "Embedded:Port=6A:Box=1:Bay=4" }
      
      },
      "PredictedMediaLifeLeftPercent": 100,
      "Protocol": "NVMe",
      "Revision": "HPK4",
      "SerialNumber": "S6T1NA0X301820",
      "Status":
      
      { "Health": "OK", "State": "Enabled" }
      
      ,
      "systemHostname": "",
      "systemType": "Physical",
      "systemId": "1",
      "storageId": "DA000007"
      },
      {
      "@odata.etag": "W/\"433b93f4\"",
      "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Drives/1",
      "@odata.type": "#Drive.v1_17_0.Drive",
      "@Redfish.WriteableProperties": [
      "LocationIndicatorActive",
      "StatusIndicator"
      ],
      "Id": "1",
      "Name": "480GB 16G NVMe SSD",
      "Status": {
      "State": "Enabled",
      "Health": "OK",
      "Conditions": [
      
      { "MessageArgs": [ "Slot=2" ], "Severity": "OK" }
      
      ]
      },
      "BlockSizeBytes": 512,
      "CapableSpeedGbs": 16,
      "CapacityBytes": 480103981056,
      "DriveFormFactor": "M2_2280",
      "EncryptionAbility": "None",
      "EncryptionStatus": "Unencrypted",
      "FirmwareVersion": "HPK3",
      "Revision": "HPK3",
      "FailurePredicted": false,
      "HotspareType": "None",
      "Identifiers": [
      
      { "DurableNameFormat": "EUI", "DurableName": "b3:4c:13:94:c2:54:65:08" }
      
      ],
      "LocationIndicatorActive": false,
      "Links": {
      "Storage":
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000" }
      
      ,
      "Volumes": [
      
      { "@odata.id": "/redfish/v1/Systems/1/Storage/DE042000/Volumes/1" }
      
      ],
      "[email protected]": 1
      },
      "MediaType": "SSD",
      "Model": "VR000480KXLXF",
      "Multipath": false,
      "NegotiatedSpeedGbs": 16,
      "PhysicalLocation": {
      "PartLocation":
      
      { "LocationOrdinalValue": 1, "LocationType": "Bay", "ServiceLabel": "Slot=7:Bay=1" }
      
      },
      "PredictedMediaLifeLeftPercent": 100,
      "Protocol": "NVMe",
      "SerialNumber": "S711NE0WB60040",
      "SlotCapableProtocols": [
      "NVMe"
      ],
      "[email protected]": [
      "OK",
      "Fail"
      ],
      "StatusIndicator": "OK",
      "WriteCacheEnabled": false,
      "Operations": [],
      "systemHostname": "",
      "systemType": "Physical",
      "systemId": "1",
      "storageId": "DE042000"
      }
      

      Only the m.2 disk has "StatusIndicator", the U.3 disk doesn't

       

            zit Zabbix Integration Team
            einsibjani Einar Bjarni Halldórsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: