Menu

Importing fusioninventory data in itop

Rihards
2020-10-19
2024-12-20
  • Rihards

    Rihards - 2020-10-19

    Searching for a way to import fusioninventory output in itop, without having additional extensive software running.
    There are threads about OCSInventory integration, but that seems to add excessive complexity.
    https://sourceforge.net/p/itop/discussion/922360/thread/2f9e392f/ talks about integration with fusioninventory-glpi, but that involves PHP file modification (preferably to be avoided), and the link to the tutorial is broken anyway (leads to the main itop page on SF).

    Is there a way to feed data directly from fusioninventory-glpi into itop?

    Failing that, is there a way to automatically collect server hardware/software detail, perhaps network device detail etc?

     
  • Vincent @ Combodo

    The best strategy is to write/configure your own collector. I understand that you would like to avoid modifying PHP file, this is not required...
    1. you will just have to write a few PHP lines in new files, usually just 2 or 3 lines are enough,
    2. You will need to define how to get data from fusioninventory-glpi. How can this tool be queried, SQL, REST, webservices returning CSV ? For each of those 3 methods, a predefined collector exist already with the SDK, so writing your own based on those is mainly a matter of writing configuration files.
    3. Then you will have to write an XML file specifying the mapping logic between you fusioninventory-glpi data format and the iTop objects logic. The exact syntax depends on the format of your source data (SQL, CSV or JSON).
    4.then you will need to create DataSynchro in iTop, export the datasynchro definition in XML format
    5. Install all those files on a machine, having web access to your iTop (and most probably also web access to your fusioninventory-glpi server) and cronify the collector.

    It looks complex like this, because there are a lot of small actions to perform, but trust me, I am not a developper and I was affraid of jumping into this, but this summer I had a bit of time and I tried successfully to write a specific collector for Odoo (I got some help because that one, is not based on one of the 3 querying methods already available, it is using "ripcord") and another one between 2 iTops, using REST and JSON format, that one was really simple.

    Stay tuned, within a bit more than a week, a new version of that SDK will be released, with the JSON collector and lot of improvement on the CSV one. Here is the documentation
    https://www.itophub.io/wiki/page?id=extensions%3Aitop-data-collector-base

     

    Last edit: Vincent @ Combodo 2020-10-20
  • Vincent @ Combodo

    As announced, the new version of the Collector Base API was released last week.

     
  • carlos mario caballero

    @cisou Hello! Your work sounds very interesting and helpful, especially with the custom collector for Odoo. I was wondering if you could share the module you created or point me to where I can find more information about it. Thank you in advance for your guidance, and I appreciate your efforts in this area!

     
    • Vincent @ Combodo

      Sorry, currently this collector is not an open-source work.
      It belongs to Combodo and we have not planned to share it.

       
  • carlos mario caballero

    Thank you for your response! I understand that the collector is not open-source. Could you let me know if your company, Combodo, offers this module commercially? If so, how can I get in touch with you or your team to learn more about it? I’d greatly appreciate any information.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.