You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-02-19 14:04:45

masterziggy
Member
Registered: 2014-03-04
Posts: 4

Import Software with Plugin ocsinventoryng GLPI 0.85

Hi;

We have a problem when using the software dictionary of OCS. The plugin imports the software that OCS is in IGNORED.

Any Idea?

Thanks in advance

Best Regards

Offline

#2 2015-02-26 15:35:26

florian.grosse
Member
Registered: 2014-11-03
Posts: 5

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

Hi,

I think we have the same problem after we updated glpi on 0.85.2 and ocsinventoryng on the new Version 1.1.0.

For synchronisation between glpi and ocs we use the software directory in ocs with ignored software and software categories.
This worked fine so that we got for example every Microsoft Office Version in one software entry in glpi. But after the update every software from ocs is imported. Both software categories and ignored software are ignored at the import and so we got few thousand new software entries in glpi.

I think the Problem is that there is no option for grouped software import in the ocs inventory ng configuration. For software we have only the options "no import" and "unit import". But for everything else we can choose "grouped import".

Is it a bug that this option is missing? Are there any known solutions?

Thanks and Best regards
Florian

Offline

#3 2015-02-26 17:31:47

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

Can you try this correction ?

https://forge.indepnet.net/projects/ocs … .class.php

Line 2215 ($ocsWanted =  PluginOcsinventoryngOcsClient::WANTED_DICO_SOFT;)


Xavier Caillaud
Blog GLPI Infotel

Offline

#4 2015-02-26 17:50:07

florian.grosse
Member
Registered: 2014-11-03
Posts: 5

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

Thanks for your answer.

I changed the line but unfortuantly it changed nothing. The Option "global import" is still missing and it still imports every software from ocs.

Offline

#5 2015-02-26 18:38:57

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Import Software with Plugin ocsinventoryng GLPI 0.85


Xavier Caillaud
Blog GLPI Infotel

Offline

#6 2015-03-02 14:32:11

florian.grosse
Member
Registered: 2014-11-03
Posts: 5

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

Okay after that change it looks good.
The Option "global import" for software is still missing but when i choose "unit import" and use the OCSNG Software Dictionary the software is imported correctly.

Thank you.

Offline

#7 2015-03-02 14:45:27

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

florian.grosse wrote:

The Option "global import" for software is still missing but when i choose "unit import" and use the OCSNG Software Dictionary the software is imported correctly.

Thank you.

The Option "global import" never existed into GLPI. Only unit import for this object


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2015-03-03 13:10:45

masterziggy
Member
Registered: 2014-03-04
Posts: 4

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

tsmr wrote:

Working properly.
Thanks for your work!!

Offline

#9 2015-03-03 13:16:25

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Import Software with Plugin ocsinventoryng GLPI 0.85

wink


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB