Giter VIP home page Giter VIP logo

Comments (9)

raulk89 avatar raulk89 commented on June 5, 2024

Temporary hack, that will work:

Modifying first row of file:
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Docker.pm

package FusionInventory::Agent::Task::Inventory::Virtualization::Docker;
-->
#package FusionInventory::Agent::Task::Inventory::Virtualization::Docker;

But that will be overwritten by future releases. So looking for a more permanent solution.

Raul

from fusioninventory-agent.

g-bougard avatar g-bougard commented on June 5, 2024

If you don't have any other virtualization type on this computer, the best way should be to use: no-category = virtualmachine
If you have other types of virtualization, just remove the file you modified.
If you don't see new fi-agent release, you should probably take a look at glpi-agent which is a fork of fusioninventory-agent with a lot of fixes and new features.

from fusioninventory-agent.

raulk89 avatar raulk89 commented on June 5, 2024

This parameter also works yes.
Thanks.

Is this a feature, that glpi software (GLPI 10.0.5) loses all the dependencies for the VM where certain docker container resides..?

At the moment, from glpi UI, there is no link from the docker container to the VM it resides. Each container is separate entity. When I deleted VM (and emptied trash bin), all the containers remained intact.

Seems odd, that there is no link to the VM.

Raul

from fusioninventory-agent.

ddurieux avatar ddurieux commented on June 5, 2024

it's a simple link, so yes if you delete the computer, the VMs are not deleted

from fusioninventory-agent.

raulk89 avatar raulk89 commented on June 5, 2024

No I mean, type=docker is running on certain VM.
There seems no link between those.
When I delete VM, the dependent docker items should also be deleted.

Raul

from fusioninventory-agent.

g-bougard avatar g-bougard commented on June 5, 2024

It depends where you're running the agent. Do you run it into docker ? and the VM ?
The link can only be created if you run it into the two ends.

from fusioninventory-agent.

raulk89 avatar raulk89 commented on June 5, 2024

We run it only on VM.

Raul

from fusioninventory-agent.

g-bougard avatar g-bougard commented on June 5, 2024

You're using GLPI 10.0.5 ? Do you use native inventory or FusionInventory for GLPI Plugin ?
If you're using GLPI 10, what did you configure in inventory Administration regarding "Virtualization":
image

from fusioninventory-agent.

raulk89 avatar raulk89 commented on June 5, 2024

We use "FusionInventory" at the moment.
We did this change from both.

FusionInventory:
image

Native Inventory:
image

No luck. Still those type=docker entities were created.

Raul

from fusioninventory-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.