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.

Probleme remonté plugin [closed]

Bonjour,

Le fonctionnement de "base" OCSinventory est correct.

Les inventaires des différents clients remontent correctement, par contre j'ai installé des plugins, je vois bien les fichiers vbs s'exécuter sur les postes client mais aucune information n'est collecté par le serveur.

J'ai également voulu paramétrer la remonté de valeurs de clefs de registre sans succes.

Serveur : ubuntu 18.04.1 LTS Apache/2.4.29 (Ubuntu)

OCS report 1:10.3.10+maria~bionic-log 2.5

Client windows : OCS Inventory NG Agent Version 2.4.0.0

Merci
closed with the note: Problème réglé
in OCS Inventory NG server for Unix by (380 points)
closed by

9 Answers

0 votes
Bonjour,

Est-ce que les infos sont bien stockées dans le fichier xml ? Pour vérifier lancer un inventaire avec cette commande : ocsinventory-agent.exe /xml=<path_to_folder>.

Cordialement

Frank
by (88.5k points)
0 votes
Bonjour,

quelle est cette version d'OCS reports ?
by (32.6k points)
0 votes
Bonjour,

Lorsque je lance la commande ocsinventory.exe /xml=c:\temp\, je ne recupere aucun fichier xml.

La version d'OCSreports est la 2.5

Cordialement
by (380 points)
0 votes
Bonjour,

Peux-tu lancer cette commande => ocsinventory-agent.exe /debug=2 /xml=c:\temp et poster ensuite le contenu du fichier c:\programdata\ocsinventory ng\agent\ocsinventory.log ?

Merci

Frank
by (88.5k points)
0 votes
Franck,

Ci dessous l'extrait du fichier log correspondant à l'envoi de la commande :

Starting OCS Inventory NG Agent on Monday, November 26, 2018 08:19:15.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT =>  Communication Server asks for Registry Query
AGENT => Communication Server asks for IpDiscover
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
ADMIN INFO => Couple ( TAG <=> ADM ) added to configuration file
AGENT => Inventory successfully sent
AGENT =>  Communication Server asked for Package Download
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:49.
by (380 points)
0 votes
D'après le log les plugins ne sont pas chargés par l'agent. Sont-ils bien stockés dans le bon répertoire?
by (88.5k points)
0 votes
Les fichiers vbs des mes plugins sont stockés en c:\program files (x86)\ocsinventory agent\plugins
by (380 points)
0 votes

Franck,

J'ai répondu un peu trop vite tout à l'heure, lorsque je lance la commande ocsinventory.exe /xml=c:\temp\, je  récupère bien un fichier xml.

A l'intérieur de ce fichier j'ai bien une balise "OFFICEPACK" pour mon premier plugin et "OSINSTALL" pour le second.

by (380 points)
0 votes
Pour information, les informations ne remontaient pas au serveur à cause d'une anomalie sur l'installationdes plugins sir le serveur le fichier map.pm et .conf du plugin n'étaient pas au bon endroit.
by (380 points)
 
Powered by Question2Answer
...