1

Topic: Problem with plugin OCS NG (GLPI 0.90.4)

When I import from the OCS Inventory I can only see computers without name and other information.

Where is the problem?



Glpi 0.90.4
OCS Inventory NG 2.2.1
Plugin OCS Inventory 1.2.1
Ubuntu 14.04.4 LTS - PHP 5.5.9 - Apache 2.4.7

2

Re: Problem with plugin OCS NG (GLPI 0.90.4)

The configuration of you import in the plugin ?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

3

Re: Problem with plugin OCS NG (GLPI 0.90.4)

My configuration :

Connection type: Database
Name: localhost
Host: localhost
Database: ocsweb
User:ocs
Use automatic action for clean old agents & drop from OCSNG software: NO
Active: Yes
Version : 7009    Checksum : 2
Synchronisation method: Normal
Database in UTF8: Yes

The character database configuration:

--> show variables like 'char%';

# Variable_name, Value
'character_set_client', 'utf8'
'character_set_connection', 'utf8'
'character_set_database', 'latin1'
'character_set_filesystem', 'binary'
'character_set_results', 'utf8'
'character_set_server', 'latin1'
'character_set_system', 'utf8'
'character_sets_dir', '/usr/share/mysql/charsets/'

-->show variables like 'collation%';
'collation_connection', 'utf8_general_ci'
'collation_database', 'latin1_swedish_ci'
'collation_server', 'latin1_swedish_ci'

4

Re: Problem with plugin OCS NG (GLPI 0.90.4)

I have solved my problem.

In OCS Inventory

Config->Server->Trace_Deleted must be on.