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

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

Pas de remontée d'inventaire

Bonjour,

J'ai installé sur un serveur Hyper-V l'OCS Inventory NG Server puis l'ai configuré.

Ensuite j'ai installé sur un poste du réseau local un OCS Inventory NG Agent puis quand je clic sur "Executer l'agent OCS Inventory NG maintenant" il me met :

La notification de démarrage d'inventaire a été envoyée avec succès au service OCS Inventory NG.

Cependant quand je retourne sur mon server et sur mon ocs inventory, aucune machine n'apparait.

Voila si quelqu'un sait d'ou cela peut venir.

Merci d'avance.
asked Nov 7 in OCS Inventory NG agent for Windows by tani (200 points)

3 Answers

0 votes
Bonjour,

Des erreurs dans le fichier ocsinventory.log? Ce fichier est stocké dans C:\ProgramData\OCS Inventory NG\Agent.

Cordialement

Frank
answered Nov 8 by frankb (50,030 points)
0 votes
Bonjour,

Suite à votre commentaire je suis allé voir dans ocsinventory.log. J'ai l'impression qu'il n'arrive pas à contacter le serveur OCS, cependant j'arrive à le ping et vice versa. Avez vous une idée ?

Merci d'avance

PS :

==============================================================================

Starting OCS Inventory NG Agent on Wednesday, November 08, 2017 13:55:02.

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 Prolog

DID_CHECK => Read DeviceID <DEV38-2017-11-08-09-01-58> and MACs <A4:5D:36:59:8E:076C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> in file <ocsinventory.dat>

DID_CHECK => MAC Address changed new:<A4:5D:36:59:8E:076C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> old:<A4:5D:36:59:8E:076C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C6C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00>

DID_CHECK => Generating new unique ID for device <DEV38>

DID_CHECK => writing DeviceID <DEV38-2017-11-08-13-55-02> and MACs <A4:5D:36:59:8E:076C:88:14:9E:30:1C00:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> in file <C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.dat>

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL with server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Disabling cURL SSL server validation support

COM SERVER => Sending HTTP Post request to URL <http://192.168.1.10/ocsinventory>

WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:22.
answered Nov 8 by tani (200 points)
0 votes
Re,

Je suis arrivé à avoir une remontée d'inventaire sans Firewall. Cependant est il possible d'avoir le Firewall activé ?

J'ai ouvert les ports 80 (server, client) et modifié le fichier ocsinventory.ini côté agent. Mais aucune remontée.

Une idée ?

PS :

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://192.168.1.10:80/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=1
User=gHe4KnbIZgNfn0GzTEiFvA==|||1kF9mw6lYICsjyXtUtlD9A==
Pwd=9PgeKUbUyU8UIJ4Dfm/I0A==|||Xo0LSnLaYRa4cbcGQIdT/Q==
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=1380
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
answered Nov 10 by tani (200 points)
 
Powered by Question2Answer
...