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

Implement Asset Inventory #8454

Open
lucaderi opened this issue Jun 19, 2024 · 0 comments
Open

Implement Asset Inventory #8454

lucaderi opened this issue Jun 19, 2024 · 0 comments

Comments

@lucaderi
Copy link
Member

lucaderi commented Jun 19, 2024

Prerequisites (per interface)

  • create a redis hash H to check if the entry was already created
  • create a redis list L with the new assets to add to the inventory

For every new asset detected (C++)

  • add the host key to L

Every minute there is a callback script that

  • dequeues entries from L
  • if the entry is already in H it is discarded
  • lookup of the host entry
  • call the inventory API to add the host
  • add the entry to H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant