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

Exporter has Difficulty with Duplicate Disk Names on Different Enclosures #81

Open
burdorff opened this issue Feb 14, 2024 · 1 comment

Comments

@burdorff
Copy link

burdorff commented Feb 14, 2024

We're running a Dell server with attached MD1400 with additional storage - and while all the data is available in the IDRAC (and subsequently to redfish API), the exporter struggles with duplicate labels where the disk names are the same on different enclosures. The distinguishing label would be the enclosure name, but this doesn't seem to be considered in the exporter.

An example:

* [from Gatherer #2] collected metric "redfish_system_simple_storage_device_state" { label:<name:"device" value:"Physical Disk 0:1:5" > label:<name:"hostname" value:"--removed hostname--" > label:<name:"resource" value:"device" > gauge:<value:1 > } was collected before with the same name and label values
* [from Gatherer #2] collected metric "redfish_system_simple_storage_device_health_state" { label:<name:"device" value:"Physical Disk 0:1:5" > label:<name:"hostname" value:"--removed hostname--" > label:<name:"resource" value:"device" > gauge:<value:1 > } was collected before with the same name and label values

Screenshot 2024-02-14 145002

@burdorff
Copy link
Author

https://ip/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Integrated.1-1
...
{"@odata.id":"/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Integrated.1-1/Drives/Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1"}
...
https://ip/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Slot.1-1
...
{"@odata.id":"/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Slot.1-1/Drives/Disk.Bay.5:Enclosure.External.0-1:RAID.Slot.1-1"}
...

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

No branches or pull requests

1 participant