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.

msofficekey pas de remontée

salut

j'aimerais avoir donc les licences offices avec le fichier vbs msofficekey.vbs

mais l'icone reste gris, et pas de remontées,

voici les logs de l'agent sous win7 64bits

    EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    EXECUTABLE PLUGIN => Found executable plugin <msofficekey.vbs>
================= TRACE START ===============

================= TRACE STOP ===============
    EXECUTABLE PLUGIN => Plugin <msofficekey.vbs> executed successfully
    EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
    INVENTORY => Checking last inventory state
    INVENTORY => Logical drives inventory state changed
INVENTORY => Inventory changed since last run
    INVENTORY => Generating XML document with Device properties
    INVENTORY => XML Update BIOS
    INVENTORY => XML Update 1 CPU(s)
    INVENTORY => XML Update 2 Memory Slot(s)
    INVENTORY => XML Update 5 Input Device(s)
    INVENTORY => XML Update 41 System Port(s)
    INVENTORY => XML Update 6 System Controler(s)
    INVENTORY => XML Update 11 System Slot(s)
    INVENTORY => XML Update 2 Sound Device(s)
    INVENTORY => XML Update 3 Storage Peripheral(s)
    INVENTORY => XML Update 3 Logical Drive(s)
    INVENTORY => XML Update 1 Modem(s)
    INVENTORY => XML Update 4 Network Adapter(s)
    INVENTORY => XML Update 2 Video Adapter(s)
    INVENTORY => XML Update 2 Monitor(s)
    INVENTORY => XML Update 8 Printer(s)
    INVENTORY => XML Update 406 Software
    INVENTORY => XML Update 0 Registry Value(s)
    INVENTORY => XML Update Administrative Information(s)
    INVENTORY => XML Update common Device properties
    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.proutprout.local/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>
</REPLY>

================= TRACE STOP ===============
AGENT => Inventory successfully sent
    INVENTORY => Writing new inventory state
AGENT =>  Communication Server ask for Package Download
    DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:44.

 

il l'a exécuté, et rien dans ocs,l'icone est gris. dans la base, je vois pas grand chose, en meme temps je ne sais pas non plus quelles tables regarder.

rien dans les logs de apache, pas grand chose dans les log activities de ocs

Wed Sep  2 15:06:25 2015;47756;323;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;D4:BE:D9:0A:73:E6<192.168.30.211>
Wed Sep  2 15:06:25 2015;47756;323;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;9C:B7:0D:0A:2F:42<0.0.0.0>
Wed Sep  2 15:06:25 2015;47756;323;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;9C:B7:0D:0A:2F:42<0.0.0.0>
Wed Sep  2 15:06:25 2015;47756;323;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;0A:00:27:00:00:00<192.168.56.1>
Wed Sep  2 15:06:25 2015;47756;324;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;00:00:00:00:00:00
Wed Sep  2 15:08:38 2015;51091;322;DI274-2015-09-01-13-19-01;192.168.30.211;OCS-NG_WINDOWS_AGENT_v2.1.1.1;notify;IP

 

alors, pour info, j'ai juste copié le vbs dans windwos, en principe, il doit pas y avoir autre chose à faire non?

 

d'avance merci de votre aide.
in OCS Inventory NG agent for Windows by (200 points)

4 Answers

0 votes
Bonjour,

Y-a-t-il des erreurs dans le fichier error_log d'apache sur le serveur?

Cordialement

Frank
by (88.5k points)
non, aucune erreur qui me paraissent suspectes;

[Thu Sep 03 09:15:09.503379 2015] [:error] [pid 15297] [client 192.168.30.211:49369] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://ocs.proutprout.local/ocsreports/
[Thu Sep 03 10:10:28.378651 2015] [mpm_prefork:notice] [pid 2307] AH00169: caught SIGTERM, shutting down
[Thu Sep 03 10:10:29.735569 2015] [mpm_prefork:notice] [pid 19872] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Thu Sep 03 10:10:29.735647 2015] [core:notice] [pid 19872] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 03 10:14:59.482079 2015] [mpm_prefork:notice] [pid 19872] AH00169: caught SIGTERM, shutting down
[Thu Sep 03 10:15:01.083463 2015] [mpm_prefork:notice] [pid 20127] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Thu Sep 03 10:15:01.083541 2015] [core:notice] [pid 20127] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 03 10:15:40.853654 2015] [mpm_prefork:notice] [pid 20127] AH00169: caught SIGTERM, shutting down
[Thu Sep 03 10:16:40.162060 2015] [mpm_prefork:notice] [pid 20370] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Thu Sep 03 10:16:40.162110 2015] [core:notice] [pid 20370] AH00094: Command line: '/usr/sbin/apache2'
0 votes
un détail:

j'ai eu des soucis du type: mrtf ou qqch du genre attack !!! j'ai du bidouiller du php dans 2 ou 3 fichiers. signe qu'il n'y aurait des problèmes de compatibilités quelques part niveau php, je ne suis pas sur que ca ait une influence sur la remontée des clés offices.

cela dit, dans les logs, je remarque qu'il n'y a pas de ling XML qui concerne les licences remontées par vbs, or, si j'exécute le vbs à la main, j'ai bien des fenetres qui s'ouvrent avec des licences dedans.
by (200 points)
0 votes
solution trouvée, c'est un truc tellement .... bon passons.

 

il faut accorder tous les droits au fichier vbs sous windows. ca fonctionne sous win7, 8, 8.1 et 10. mais le nom des droits ne sont pas les memes.

sous win7: il faut faire ca pour tous les utilisateurs

sous win >7: pour "application packages". et peut etre pour les utilisateurs également. la remontée se fait très bien.

on peut rajouter ça le wiki? car ils n'en parlent pas.
by (200 points)
0 votes
Bonjour,

Merci pour le retour d'infos et la solution trouvée. Je mets à jour le wiki pour diffuser l'information.

Cordialement

Frank
by (88.5k points)
 
Powered by Question2Answer
...