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 2012-12-17 18:29:22

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Duplicate computers between GLPI and OCS

Hi,

I have GLPI: 0.83.4 and OCS 1.01

I have a rule thats says for OCS Sync:

Logical Operator: And

        OCSNG server    is    SERV1
    Computer to import : Serial Number    is already present in GLPI    Yes
    Computer to import : Computer's name    is already present in GLPI    Yes
    Computer to import : Serial Number    exists    Yes
    Computer to import : Serial Number    is not    N/A

Action:
        OCSNG link    Assign    Link if possible

I keep getting new computers being created whos Serial is N/A, or, duplicates of existing ones.  Using the Duplicate Computers report in GLPI I can see that the Name and Serial is the same, or the serial is "n/a"

I don't understand why I'm getting duplicates at all with these settings, even though I know that the OCSServer is old.

If I clean up all the duplicates, within a day or two I'll start seeing them again. Yet if I login to OCSInventory directly, it only shows one instance of the PC.

Also with these settings I'd expect that no new PC would 'sync' until we've manually added a matching name are Serial into GLPI, but yet they do.

Any ideas why ?

Last edited by adrianmarsh (2012-12-17 18:30:28)


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#2 2012-12-17 18:45:08

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 161

Re: Duplicate computers between GLPI and OCS

I have same problem, and i have post it http://www.glpi-project.org/forum/viewt … 56#p151856


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

#3 2012-12-17 18:57:07

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: Duplicate computers between GLPI and OCS

Hi Teguh,

Your post talks about 'fusioninventory' - I've no idea what that is.
Also in yours your getting similar but incorrect serials. I either get n/a, or the correct serial into OCS, and then GLPI *should* only sync when theres a valid serial. It doesn't corrupt a serial number partially.

Mine is native OCS sync in GLPI.


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

Board footer

Powered by FluxBB