This is the configuration of the ocsinventory-agent.cfg file installed on all 
Linux servers:

basevardir=/var/lib/ocsinventory-agent
debug=
server=http://myipaddress/ocsinventory

OCSNG Linux agent is version 2.1.1
OCSNG Server is version 2.1.2
OCS Inventory NG plugin version is 1.1.0
GLPI is version 0.85.3

All import options are activated.

Gerhard,

On May 26, 2015, at 7:03 AM, Евгений <[email protected]<mailto:[email protected]>> wrote:

If I remember right - there are more then one way to do import from OCS-NG.
I am currently not use import data from OCS-NG to GLPI.

Describe what used and how configured in Your situation.


22.05.2015, 20:35, "Gerhard Mourani" 
<[email protected]<mailto:[email protected]>>:
Hello,

Thanks for your reply. This is the setup I’ve. If I’m looking inside OCSNG, I 
can see that the Linux servers are correctly imported and listed. This is why I 
suspect GLPI to be the problem here, because:

1 - All Linux servers which have the agent installed are correctly reported and 
listed inside OCSNG.
2 - The error message "Can't affect an entity” is related to GLPI. OCSNG 
doesn’t know anything about entity.

I suspect GLPI to not be able to import the Linux servers because it doesn’t 
know in which entity to import them. I don’t know in GLPI where I need to go to 
inform it that all Linux server with not default entity should be placed inside 
the "ROOT Entity" of GLPI. I think this will fix the problem.

Gerhard,
 On May 22, 2015, at 12:09 AM, Евгений <[email protected]<mailto:[email protected]>> 
wrote:

 Hello.
 Not sure about your setup, but as I know OCS agent collect data on localhost 
and send it to OCS Server.

 GLPI get info from OCS Server database.

 If you have other setup - tell more details.

 If you installed agent from standart repo - you can try something like "dpkg 
-L ocsinventory-agent" on Debian/Ubuntu.
 It should list all package files, installed in system. On other systems - use 
your package management tool.

 20.05.2015, 21:55, "Gerhard Mourani" 
<[email protected]<mailto:[email protected]>>:
 Hello List,

 I’ve successfully installed Ocsinventory Unix Agent version 2.1.1 on my Linux 
servers and can see the servers in GLPI but unfortunately cannot be imported 
automatically by the ocsng_fullsync.sh script because they have been rejected 
with the following reason: "Can't affect an entity”.

 Why the installed Linux agent doesn’t assign default GLPI entity?
 How to fix it and where? On the Linux server where the agent is installed or 
on the GLPI server?

 Thanks,
 _______________________________________________
 Glpi-user mailing list
 [email protected]<mailto:[email protected]>
 https://mail.gna.org/listinfo/glpi-user
 _______________________________________________
 Glpi-user mailing list
 [email protected]<mailto:[email protected]>
 https://mail.gna.org/listinfo/glpi-user

_______________________________________________
Glpi-user mailing list
[email protected]<mailto:[email protected]>
https://mail.gna.org/listinfo/glpi-user

_______________________________________________
Glpi-user mailing list
[email protected]<mailto:[email protected]>
https://mail.gna.org/listinfo/glpi-user



[cid:[email protected]]

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to