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.

Aucun inventaire

Bonjour,

Nous avons installé la version 2.2 d'OCS. Hormis quelques problèmes de déploiements qui font l'objet d'un ticket à part, nous rencontrons une absence totale de réaction de l'agent. Si quelqu'un à une idée du problème, merci d'avance. Ci-dessous les différents fichiers :

ocsinventory.ini

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://ocs.hestia.mondomaine.local
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
TTO_WAIT=36000

 OCSInventory.log

==============================================================================
Starting OCS Inventory NG Agent on Friday, March 18, 2016 12:28:26.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.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) succesfully 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.1.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 <http://ocs.hestia.m2ocity.fr/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <CLAVA-2016-03-17-18-05-56> and MACs <DC:53:60:A4:E9:03DC:4A:3E:60:7B:58DC:53:60:A4:E9:049C:97:9A:54:5A:5100:09:0F:FE:00:01> 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://ocs.hestia.mondomaine.local>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 10 hour(s)
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

in OCS Inventory NG agent for Windows by (460 points)

2 Answers

0 votes
Le serveur se trouve a l'adresse http://ocs.hestia.mondomaine.local/ocsinventory

Donc normal que ça ne marche pas car tu n'envoie pas au serveur.
by (22k points)
Désolé, j'aurais peut-être du préciser que httpd est configuré de manière à ce que ocs.hestia.mondomaine.local renvoi vers le répertoire ocs inventory du serveur grâce au vhost. D'ailleurs l'adresse ocs.hestia.mondomaine.local me renvoie bien sur la page de connexion de ocs
Si ça te renvois sur ocsreports, ce n'est pas bon du tout. ocsreports est la GUI d'administration et non le serveur.
Merci. j'ai tout remis à la racine de httpd mais pas mieux. Je m'interroge sur le fait que nul part dans le fichier de conf tomcat généré par ocs (j'ai fait un include de celui-ci) n'apparait nul part ocsinventory. Du coups en allant sur http://ocs.hestia.mondomaine.local/ocsinventory, il ne peut rien trouver?

Merci
0 votes
Bon finalement j'ai trouvé d'où venait le problème,  un mélange de mod_perl et de fichiers conf non pris en compte. Je reviens demain pour faire une petite explication plus en profondeur.
En tout cas kapouik merci bien pour ton aide.

@ demain
by (460 points)
 
Powered by Question2Answer
...