Page MenuHomeSoftware Heritage

Set up an inventory app
Closed, MigratedEdits Locked

Event Timeline

douardda renamed this task from Set up a an inventory app to Set up an inventory app.Dec 4 2018, 10:47 AM
vlorentz triaged this task as Normal priority.Dec 5 2018, 5:11 PM

what kind of inventory we want to do with this? hardware? software? both?

As software is mostly declared in puppet, I think the main areas that could be improved would be

  • hardware inventory
  • network topology
  • puppet reports integration

Some tools that may or may not be relevant in that space :

Netbox looks pretty nice as a full hardware/device inventory tool: https://netbox.readthedocs.io/en/stable/

A docker-compose is available to easily test netbox : https://github.com/netbox-community/netbox-docker
This is the puppet configuration used at wikimedia : https://gerrit.wikimedia.org/r/c/operations/puppet/+/387880/

Wikimedia is using netbox as the source of trust in their infrastructure and puppet is configuring the facts from it. It's not exactly the same use case we want as we would like to have netbox automatically provisioned.

It's possible to generate csv from the puppet facts present on the puppet-environment directory and import them / post them via the netbox api.

With few lines of python, it was possible to generate this catalog of the physical servers :

Can this task be closed since the subject was addressed in T2620 ?

olasd assigned this task to vsellier.

Can this task be closed since the subject was addressed in T2620 ?

Yep!