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.12.3 available

The official documentation can be found on https://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

server=https://ocs.de.kontrast/ocsinventory

logfile=/var/log/ocsng.log

debug=1

lazy=0

ssl=1

tag="client"

######

Content of the log File from the client

<REQUEST>

  <DEVICEID>ComputerID373-2017-04-20-14-30-21</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[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
in OCS Inventory NG agent for MacOS X by (160 points)
closed by

2 Answers

0 votes
Hi,

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.

Regards

Frank
by (90.2k 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!

Regards

Marco
by (160 points)
 
Powered by Question2Answer
...