Closed sessterling closed 3 years ago
Hello,
I'm French. I got the same issue.
Plugin Version : 1.7.0 GLPI Version : 9.5.1 OCSREPORTS : Ocs Inventory Server 2.5
"Import new computers" list contains some computers, but "Link new OCSNG computers to existing GLPI computers" list is empty.
Thanks for your help.
Have a good day.
Have you created a rule for link computers ? http://.../front/ruleimportcomputer.php
Thanks for your response.
I have the same rule between GLPI 9.4 and 9.5.
There is something to change ?
Je pense avoir compris.
La règle qui était reprise de la version précédente nécessitait que le nom de machine ET le numéro de série soient communs pour proposer la liaison OCS-GLPI. Dans mon cas, pour les ordinateurs concernés, le nom était OK, mais le numéro de série ne correspondait pas (pas bien pris en charge dans le BIOS et dans OCS). Comme les 2 critères ne correspondaient pas, les ordinateurs n'apparaissent pas dans la liste des liaisons possible.
J'ai créé une nouvelle règle uniquement sur le nom, et la liste n'est plus vide.
Merci de m'avoir guidé. Je pense que d'autres utilisateurs vont rencontrer ce soucis, mais ils pourront le régler.
Bonne journée.
Bonjour,
j'ai le même problème. Modifier les règles comme indiqué ne change rien pour moi. Par contre j'ai remarqué que dans mon cas la non présentation des anciens éléments à lier vient de la récursivité.
J'ai plusieurs entités et sous entités. Si je me place dans l'entité racine la liste des éléments à lier est vide. Si je me positionne dans la sous-entité, où l’élément à lier est enregistré dans GLPI, il apparaît.
Bonne journée.
Plugin Version : 1.7.0 GLPI Version : 9.5.1 OCSREPORTS : Ocs Inventory Server 2.7 Debian 10.4
Bonjour,
nous rencontrons le même problème en 9.5.1, nos nouveaux ordinateurs atterrissent dans "Importation de nouveaux ordinateurs" alors que précédemment ils étaient bien ajoutés à notre base GLPI. Nous avons une tâche CRON qui fonctionne toutes les demi-heures et appelle les deux commandes suivantes :
/var/www/glpi/plugins/ocsinventoryng/scripts/ocsng_fullsync.sh --thread_nbr=2 --server_id=1 /var/www/php /var/www/glpi/front/cron.php --force ocsng
Cela fonctionnait en 9.4.x
Merci d'avance pour votre aide
Plugin Version : 1.7.0 GLPI Version : 9.5.0 OCSREPORTS : Ocs Inventory Server 2.7 Ubuntu 18.04.5 LTS
When you would like to solve that problem you only must create a new rule.
Administration -> Rules -> Rules for assigning an item to an entity Rules for import and link computers
After that you only have to enable that rule and it should work.
Hello y0rune,
Thanks for your answer, but I can't choose the criteria "is already present in GLPI". The only choices presented by GLPI in my case :
@Muzo18 You should go to Rules for assigning an item to an entity
Oh yes, I understand the error : I selected "Rules for Assigning an Item to an Entity" like you said, but in the screenshot, it's "Rules for import and link computers". It works better now ;o) I also created a new rule with the same parameters, but using "serial numbers" instead of "computer's name".
All is ok now.
Thank you
Sorry yeah that was my mistake. I changed it in the previous message.
Y0rune
Don't worry. Thank you.
Plugin Version : 1.7.0 GLPI Version : 9.5.1 OCSREPORTS : Ocs Inventory Server 2.7
I try to linking new computers in OCSNG with existing ones in GLPI , but the list is always empty.