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 2010-10-26 14:31:10

StackaN
Member
From: Russia
Registered: 2010-09-15
Posts: 30

No change in GLPI from sync OCS

GLPI - 0.78
OCS - 1.3.2
My PC has 3 DIMM = 2*512 Mb + 1*1024Mb
I remove one DIMM (1024 Mb) to my PC.
In OCS correctly new change DIMM (2*512Mb)
In GLPI - not change....
I run builtin ocs-import - not change....
I run massocsplugin import - not change....
I run manual sync - not change....

Please help...


Prod: CentOS 7.2 - PHP 5.4.16 - MariaDB 5.5.50 - GLPI 9.1.x - fusioninventory
Dev: None
PC > 3500

Offline

#2 2010-10-27 06:45:34

StackaN
Member
From: Russia
Registered: 2010-09-15
Posts: 30

Re: No change in GLPI from sync OCS

problem solved...
1 - delete all components (GLPI - Setup - Components)
2 - run SQL:
mysql> update glpi_ocslinks
set import_device=NULL,
import_disk=NULL,
import_software=NULL,
import_monitor=NULL,
import_peripheral=NULL,
import_printer=NULL,
import_ip=NULL,
ocs_agent_version=NULL;

mysql>delete glpi_computerdisks.* from glpi_computerdisks;

3 - GLPI - select all computers - "Unlock OSCNG - Locking volumes"

4 - GLPI - select all computers - run synchro

:-) ..!

Last edited by StackaN (2010-11-01 10:12:29)


Prod: CentOS 7.2 - PHP 5.4.16 - MariaDB 5.5.50 - GLPI 9.1.x - fusioninventory
Dev: None
PC > 3500

Offline

#3 2010-10-29 13:28:21

BrainSCAN
Member
From: Spain
Registered: 2006-12-11
Posts: 86

Re: No change in GLPI from sync OCS

But if you had to delete your device (your PC), then what you've done is not updating your PC in GLPI, you have deleted it and imported it again.

Once you deleted your PC (did you also purged it?) you loose it's history, linked tickets, etc.

I don't understand how have you "solved" your problem of updating your device, you have created it again, or I have misunderstood your solution.

Offline

#4 2010-10-29 21:48:34

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: No change in GLPI from sync OCS

haha, "Solved".


Now using 0.78.1 on CentOS.

Offline

#5 2010-11-01 10:01:28

StackaN
Member
From: Russia
Registered: 2010-09-15
Posts: 30

Re: No change in GLPI from sync OCS

BrainSCAN wrote:

But if you had to delete your device (your PC), then what you've done is not updating your PC in GLPI, you have deleted it and imported it again.

Sorry, I incorrectly described this.

GLPI - Setup - Components
I delete all components (no device).

But problem with glpi - computers - volumes:
duplicate volume.

This problem is solved as:
1 - mysql>delete glpi_computerdisks.* from glpi_computerdisks;
2 - GLPI - select all computers - "Unlock OSCNG - Locking volumes"
3 - run sync

Last edited by StackaN (2010-11-01 10:11:34)


Prod: CentOS 7.2 - PHP 5.4.16 - MariaDB 5.5.50 - GLPI 9.1.x - fusioninventory
Dev: None
PC > 3500

Offline

Board footer

Powered by FluxBB