jenningsloy318 / redfish_exporter

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

group configuration #28

Closed 4xoc closed 3 years ago

4xoc commented 3 years ago

This PR adds the option to configure groups of hosts with identical username/password. It makes it easier to work with different groups of hosts using the same credentials without having to run multiple instances of this exporter.

It doesn't change the original functionality but extends the configuration of the groups part. The group configuration is only used if group GET parameter has been set (see README for how this is done in Prometheus). If no group config has been found the existing host config is also checked.

jenningsloy318 commented 3 years ago

Thanks for your pull_request, can you post some example setup and monitoring data exported by the pull_request.

4xoc commented 3 years ago

Can you please elaborate what information you want, I'm not sure what you're after. The exported data doesn't change, nothing is different in the way data is scraped or represented. The only difference is the mechanism in which credentials are configured. On how to use the group via Prometheus, please see the diff in README.