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.

Remontée agent [closed]

Bonjour,

Je viens d'installer OCS inventory et je n'ais aucune remontée client.

Version Serveur : Ubuntu server 20.04

Version OCS Reports : 2.9.1

Version de l'agent Windows : 2.9.0.0

Configuration du client :

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=2

Local=

NoSoftware=0

HKCU=0

NoTAG=1

IpDisc=

[HTTP]

Server=http://192.169.X.X/ocsreports

SSL=0

CaBundle=cacert.pem

AuthRequired=0

User=

Pwd=

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

PROLOG_FREQ=10

INVENTORY_ON_STARTUP=0

OLD_PROLOG_FREQ=10

TTO_WAIT=0

Fichier de log du client :
==============================================================================

Starting OCS Inventory Agent on Friday, November 19, 2021 08:22:51.

AGENT => Running OCS Inventory Agent Version 2.9.0.0

AGENT => Using OCS Inventory FrameWork Version 2.9.0.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\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\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.9.0.0>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <RUNSOFT-CHARLES-2021-11-17-10-36-31> and MACs <00:09:0F:FE:00:0100:0E:C6:8B:6D:1E0A:00:27:00:00:0970:20:84:01:01:7A00:09:0F:AA:00:0100:15:5D:B0:77:71> 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://192.169.X.X/ocsreports>

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

COM SERVER => Cleaning cURL library

================= TRACE START ===============

================= TRACE STOP ===============

AGENT => Prolog successfully sent

AGENT => Prolog Frequency set to 10 hour(s)

AGENT => Inventory on startup option set to
AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

Côté serveur :
1/ J'accède bien a l'interface de mon ocs via http://192.169.x.x/ocsreports

2/ le fichier /var/log/ocsinventory-server/activity.log reste vide

J'ai fais pas mal de recherche mais je ne trouve pas d'oû peut venir le problème. Sur pas mal de doc j'ais vu qu'il fallait dans le fichier de configuration mettre http://@IP/ocsinventory a la place d' ocsreports mais sur mon serveur sa ne correspond a aucune configuration, est ce qu'il faut créer un lien ou un alias ?

Merci pour votre aide.

Bonne journée
closed with the note: Résolu
in OCS Inventory NG agent for Windows by (170 points)
closed by

2 Answers

+1 vote

Bonjour

Server=http://192.169.X.X/ocsreports => mauvaise URL

Server=http://192.169.X.X/ocsinventory => bonne URL

Stopper le service ocsinventory, modifier le fichier c:\programdata\ocs inventory ng\agent\ocsinventory.ini avec la bonne URL, sauvegarder et relancer le service.

L'inventaire remontera sur le serveur.

by (90.4k points)
0 votes
Problème résolu. J'avais pourtant déja testé cette solution plusieurs fois et j'avais a chaque fois une erreur 500.
Merci
by (170 points)
 
Powered by Question2Answer
...