jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 61 forks source link

How to show gather telemetry #38

Open tarekradi opened 2 years ago

tarekradi commented 2 years ago

Hi, i have a successful connection between Prometheus and the redfish exporter. I am able to show things such as the following. image

What is the Prometheus search query that i can use to load up the PowerConsumedWatts telemetry that would appear when i make the following direct redfish call? image

Or load up SEL entries such as the following? image

Thank you.

jenningsloy318 commented 2 years ago

don't understand your point, do you mean that you need watts metrics ? if yes, it is not implemented yet. and will not update it in near future.

tarekradi commented 2 years ago

I'm saying that the system can respond to several redfish commands that i don't know how to view in Prometheus. Here are some examples of redfish RESTful commands that the systems can reply to but i don't know how to query from inside Prometheus

http://10.219.111.126/redfish/v1/Chassis/RackMount/Baseboard/Power http://10.219.111.126/redfish/v1/Systems/............/LogServices/SEL/Entries

And many others. How can i view the results of these calls in Prometheus and track them?

jenningsloy318 commented 2 years ago

view these response in prometheus requires that it is implemented in some exporter that prometheus, here for the redfish-exporter, these functions are not implemented, so you can't view them

tarekradi commented 2 years ago

Can you summarize the changes needed in the code so that they can be exported?

tarekradi commented 2 years ago

friendly ping. What changes do i need to make in the code to start exposing the redfish results of the following commands?

http://10.219.111.126/redfish/v1/Chassis/RackMount/Baseboard/Power http://10.219.111.126/redfish/v1/Systems/............/LogServices/SEL/Entries

Hydrapozza commented 1 year ago

Hello tarekradi, Do you found a solution to add new commands to the code? I also need to add some.