Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.4 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS Agent for Mac doesn't send its Inventory to the OCSNG Server [closed]

Hello guys,

we implemented an ocs ng Server into our network and distributed the agents on all our mac clients.

From 139 only 129 had send their inventory to the server, and we don't know the cause for it. The configuration on the clients which we had deployed is valid.


Content of the config File ocs-inventory-agent.cfg








Content of the log File from the client





[Fri May 12 09:11:05 2017][error] Cannot establish communication : 500 Can't connect to ocs.de.kontrast:443 (getaddrinfo: nodename nor servname provided, or not known)


Still this client has no problems to send its information to the server.

I hope you guys can help us out.

Best regards

Marco Di Mauro
closed with the note: Problem solved
asked in OCS Inventory NG agent for MacOS X by (160 points)
closed by

2 Answers

0 votes

How have you build your certificate? In the certificate the CN must be the same as your hostname defined in ocsinventory-agent.cfg file. In your case CN=ocs.de.kontrast.


answered by (57.1k points)
0 votes
The problem was a not trusted root certificate on the client. After I changed the level to always trust, it works like a charm.

Tank you for the tipp!


answered by (160 points)
Powered by Question2Answer