Closed kyleprice closed 9 months ago
This branch fixes the issue by adding the commands under the same other validation logic as the others in the system collector:
PR here, please let me know if you have any issues or comments as I would like to get this merged to fix an issue I am having.
@kyleprice
Thank you very much your contribution, I checked and merged.
I am having an issue with absent blades still trying to be scraped. I have a super micro blade chassis that is missing some blades and when I try and scrape the chassis I get the following error messages:
In looking through the code I see the system collector seems to run against both of these without checking the health of the system, which is absent. The other metrics in that area check the health of the system. Does this seem to track? If so I can submit a PR to fix this:
https://github.com/jenningsloy318/redfish_exporter/blob/22dcce0a3939b7f1416cc2cb8e14d382daaadf91/collector/system_collector.go#L172
https://github.com/jenningsloy318/redfish_exporter/blob/22dcce0a3939b7f1416cc2cb8e14d382daaadf91/collector/system_collector.go#L180