ocsinventoryng icon indicating copy to clipboard operation
ocsinventoryng copied to clipboard

Issue not importing

Open farzadha2 opened this issue 4 years ago • 2 comments

For bug reports, you can open an issue here, provide us : The version of the plugin. 1.6.0 The version of your GLPI. 9.4.6

Hi Currently trying to import a few computers but having an issue as it does not appear in GLPI we have a CPU but on the serial number and model it shows image

and we another computer which does not show to import

image

Now my question is what information does the OCS or GLPI grab to determine to import or not?

Thank you

farzadha2 avatar Dec 29 '20 19:12 farzadha2

same here. OCS 2.9 - GLPI 9.5.6 Out of 61 computer in ocs, i can import only 59 in glpi. I'm looking at the rules for importing from ocs rules

but i can't find the problem (ip si valid, no 127.0.0.1, no 0.0.0.0, same for MAC)

Thanks

marzav avatar Nov 02 '21 11:11 marzav

I think i found the problem. Out of 96 pc in ocs, glpi could import only 92; deeplooking on the missed 4, they have the same S/N "To be filled by O.E.M.". There are 5 on ocs with that serial; GLPI imported the first than dropped the other four because the "Rules for import & link computers" was "if already present in gpli"; now i added a second rule based on computer name (and it imported the remaining 4 based of computer_name), but i'm not sure what will happen when we will change name to some notebooks. Reading the wiki, it seems that GLPI use an OR between the conditions for import; i will need an AND, because if s/n is not unique, i need to join with other value (no, i can't use mac address, because there are many for every pc)

thanks

marzav avatar Nov 03 '21 14:11 marzav