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.

Agent ocs 2.3 sur un serveur ocs 2.2

Bonjour à tous,

J'ai un petit soucis sur OCS, avec un agent OCS 2.1.1, j'arrive à faire remonter les informations sur mon serveur OCS 2.2; mais lorsque j'utilise un agent 2.3.1 je n'arrive pas à remonter les informations sur mon serveur.

dans mon fichier "OCSinventory.log"

Starting OCS Inventory NG Agent on Wednesday, February 28, 2018 12:32:35.

AGENT => Running OCS Inventory NG Agent Version 2.3.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>

DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found

AGENT => Using network connection with Communication Server

COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>

AGENT => Sending getLabel request

COM SERVER => Initializing cURL library for getFile

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Disabling cURL SSL server validation support

COM SERVER => Sending fileGet request to URL <https://10.1.2.147/ocsinventory/deploy/label>

COM SERVER => fileGet response received <HTTP Status Code #400>

COM SERVER => Cleaning cURL library

AGENT => Failed to retrieve Label <HTTP Status Code #400>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <VIR94-INFO01-2018-02-28-12-30-44> and MACs <00:FF:AD:71:29:BB00:FF:AD:71:29:BB00:FF:AD:71:29:BB64:00:6A:0C:45:E500:FF:AD:71:29:BB> in file <ocsinventory.dat>

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Disabling cURL SSL server validation support

COM SERVER => Sending HTTP Post request to URL <https://10.1.2.147/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #400>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.

Cordialement,
in OCS Inventory NG server for Unix by (130 points)

1 Answer

+1 vote
Bonjour

Pour utiliser l'agent 2.3.x il faut ocs server 2.3 sinon l'erreur 400 est générée.

Cordialement

Frank
by (88.5k points)
 
Powered by Question2Answer
...