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

[Feature Request] redfish inventory sync #418

Open
bl4ko opened this issue Jan 18, 2025 · 2 comments
Open

[Feature Request] redfish inventory sync #418

bl4ko opened this issue Jan 18, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@bl4ko
Copy link
Owner

bl4ko commented Jan 18, 2025

What is the feature?

Add support for redfish inventory external source

Why is this feature important?

To be able to source inventory from redfish.

@bl4ko bl4ko added the enhancement New feature or request label Jan 18, 2025
@bl4ko
Copy link
Owner Author

bl4ko commented Jan 18, 2025

I think the easiest way to implement this is by using this go redfish-client. What do you think @bb-Ricardo ?

@bb-Ricardo
Copy link

Hi,

not really. Redfish itself is a noble idea. But some vendors have different ideas on how to implement a standard. This is where a static typed language starts struggling by needing to have all data in predefined structs.

I created this tool https://github.com/bb-Ricardo/check_redfish in python some years ago. It can also create "normalized" inventory files of a server.

Your setup would look like this:

  • have a monitoring solution (or others scheduler) to run the inventory command on as many servers you need and create inventory files for example once a day.
  • feed this inventory files to netbox-ssot to add/update the hardware components for each host in NetBox.

This requires that a) both tools run on the same server/container or b) you transport the files to where netbox-ssot is running.

This is an example which represents just the power supplies for a server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants