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

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

Connecting Agents to OCS server [closed]

Hi Everyone,

I'am new in OCS and i wish to use it to manage computers in my network so at the moment OCSserwer works fine, i'm able to use it via' browser and manually add some Agent info's.

I stll can't  connect any Agent to OCSserwer, where shoud i start, does enyone found some step-by-step instruction of connecting Agents to a OCSserver?

What's about certificate is it necessary to use it for connecting Agents or it's an altenative for login with user/pass on Agents?

I also can't find info about that which USER/PASS shoud i use connecting Agents, those for OCSserwer (like deault admin/admin) or those for ocsweb database(ocs/ocs),

Of course i Use ip of the OCSserver and they are in the same subnet, i tried Linux Serwer installed using this Tutorial "http://ask.ocsinventory-ng.org/4554/tutorial-ocs-on-ubuntu-16-04" and Windows-xamp-Serwer :

Both gave me a similar info in access.log  on OCSserver: - - [10/Jan/2018:23:16:38 +0100] "POST /ocsinventory HTTP/1.1" 400 1064 "-" "OCS-NG_WINDOWS_AGENT_v2.3.1.1" - - [16/Jan/2018:15:07:47 +0100] "POST /ocsinventory HTTP/1.1" 400 1064 "-" "OCS-NG_WINDOWS_AGENT_v2.3.1.1"

AGENT ( Shows in log

Starting OCS Inventory NG Agent on Tuesday, January 16, 2018 15:07:49.
AGENT => Running OCS Inventory NG Agent Version
AGENT => Using OCS Inventory NG FrameWork Version
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.

Please Write me if need more information.
closed with the note: end of the exchange
in OCS Inventory NG agent for Windows by (2.9k points)
closed by

2 Answers

+1 vote

This error means that your agent version is too newer that server version. To use agents you must install ocs server 2.4 or ocs server 2.3.1 but not older versions.


by (88.5k points)
0 votes
Thank's A lot!!!

Looks like xampp and tutorial i mentioned were using lower version, after installing Agent 2.1 it worked.

Just left to install It on 120 PC's......

Peace of cake...  :)
by (2.9k points)
Powered by Question2Answer