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.

Pourquoi l'agent ne remonte pas l'inventaire vers le serveur?

Bonjour dans le cas de mon stage je réalise une plateforme OCS/GLPI mais l'agent ne se connecte pas au serveur.

Voici les logs de l'agent:

==============================================================================
Starting OCS Inventory NG Agent on Friday, June 02, 2017 11:29:25.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
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.0.0>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <STAGIAIRE-2017-06-01-15-49-58> and MACs <EC:8E:B5:7A:22:360A:00:27:00:00:0D> 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 <http://XX.XX.X.XX:3306/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:01.

Est-ce que quelqu'un peut m'aider sur ce coup?

Merci d'avance.
in OCS Inventory NG agent for Windows by (120 points)

2 Answers

0 votes
Salut,

Peux-tu envoyer le fichier configuration de ton agent ?

Une requête http sur le port 3306 ? Essaye de désactiver ton pare-feu et/ou ouvrir le port 80/3306 sur ton serveur.

Normalement l'adresse est : http://ip_serveur_ocs/ocsinventory, pas besoin de préciser le port.
by (240 points)
0 votes
Bonjour,

il peut être important de préciser le port si celui-ci a été redirigé...

Les ports 80, 443 ou 3306 ne sont pas toujours disponibles, en particulier si le serveur OCS n'est pas dans le même LAN que le client.

Je pense aussi qu'il faudrait vérifier les accès du client jusqu'au serveur.

Cordialement, Stéphane
by (32.6k points)
 
Powered by Question2Answer
...