Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all 4573 articles
Browse latest View live

MAC AGENT OCS INVENTORY VERSION 2.1.1

$
0
0
Regards,

I am installing the agent for a MAC machine by https, but it fails to send the inventory of the machine to the server which already has ssl certificate.

The agent is version 2.1.1 and in the OCS SERVER URL I put https: // myserver / ocsinventory. It only works for me when I use the http protocol.

help...

Answered: i have installed the ocs server 2.1.2 but none of the agent are reporting to server.

Answered: OcsPackage won't start without Admin Privileges

$
0
0
I filled in the fields to run the installer under the admin account.

as the documentation says:
"You can now test ocspackage.exe by launching it under a normal user account (no administrative privileges)."

Answered: i have installed the ocs server 2.1.2 but none of the agent are reporting to server.

$
0
0
Thanks for your email.

please check below log

ocsinventory config

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://10.6.0.115/ocsreports
SSL=1
CaBundle=cacert.pem
AuthRequired=1
User=EquO1c70lbHM77GK80lJbQ==|||7VkdQQpwkSkVEQd1P8IPbQ==
Pwd=IlT2BdZf1aoWwbZzzqVklA==|||QZRNRvP4EHt431XnLwWZ8A==
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
TTO_WAIT=35580

inventory log

==============================================================================
Starting OCS Inventory NG Agent on Thursday, September 28, 2017 16:14:17.
AGENT => Running OCS Inventory NG Agent Version 2.1.0.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.3
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.0.3>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://10.6.0.115/ocsreports/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 <AMITK-D-2017-09-27-17-12-04> and MACs <C0:7C:D1:F5:1F:9E> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://10.6.0.115/ocsreports>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
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.

OCS Inventory NG Agent log

$
0
0

Starting OCS Inventory NG Agent on Friday, September 29, 2017 10:00:15.
AGENT => Running OCS Inventory NG Agent Version 2.1.0.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.3
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.0.3>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://10.6.0.115/ocsinventory/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 <AMITK-D-2017-09-29-10-00-13> and MACs <C0:7C:D1:F5:1F:9E> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://10.6.0.115/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
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.

Client not communicate please check agent log. please check my comment

copying ocsinventory and move to www/html directory but we don't found deploy/label directory.

#ocsinventory-agent => [error] Cannot establish communication : 404 Not Found

$
0
0

OS server : Debian 4.9

OS agent : windows 7

OCSNG_UNIX_SERVER-2.3.1

OCS Agent : 2.05

Pour forcer le un premier inventaire avec la commande ocsinventory-agent lors de l'installation j'ai un problème d'erreur 404.

agent logs :

Apache error log : 

Le fichier /var/log/apache2/error.log m'indique :

 ...server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

 .... server certificate does NOT include an ID which matches the server name

Merci.

Ocsinventory agent under linux not send ip address hosts

$
0
0
Hello,

i have install a ocsinventory agent (2.3) under linux (Centos 7)

I schedule the agent with crontab with this command:

10 * * * * ocsinventory-agent -s -f <ip ocsserver>

but in the server ocs  i don't see the host ip address .

But i launch the some command by terminal the ip address is displayed.

Why?

Thanks very much

MAC AGENT OCS INVENTORY VERSION 2.1.1

$
0
0
Regards,

I am installing the agent for a MAC machine by https, but it fails to send the inventory of the machine to the server which already has ssl certificate.

The agent is version 2.1.1 and in the OCS SERVER URL I put https: // myserver / ocsinventory. It only works for me when I use the http protocol.

help...

Answered: Ocsinventory agent under linux not send ip address hosts

$
0
0
Hi,

At first, prefer use DNS instead of IP address : that's better :)

You look like to have not configure the agent : if you put the server's address in the configuration file, there is no need to force the inventory by command line. You just need to call ocsinventory-agent and nothing more.

Attention, in the crontab, you have no path : use the full path to call ocsinventory-agent (command whereis to get it).

Empêcher un agent 2.0.1.0 de remonter dans la console

$
0
0
Bonjour,

Je souhaite supprimer de mon inventaire quelques postes avec l'agent v2.0.1.0 dont  je n'ai plus accès.

Sur ces poste, il y a un script dans c:\ocs qui lance OCS et envoie l'inventaire selon une tache planifiée.

Je souhaite supprimer ce dossier c:\ocs sur ces postes pour régler le problème.

Est ce qu'il y a un moyen de faire cela ? Sachant que je n'ai pas activé le https sur le serveur.

Merci

Answered: Ocsinventory agent under linux not send ip address hosts

$
0
0

Hi,

thanks for your reply.

In crontab i have use full path to call ocs agent and the dns but don't work.

My code for cron:

00 * * * * /usr/local/bin/ocsinventory-agent -s ocs.server.lan

With this code the hosts is register in ocs server but the ip and the ram not displayed.

If i launch the command by console the ip and the ram are displayed.

Help me please.

Inventorier les logiciels "portables"

$
0
0
Bonjour

Est-ce qu'OCS Inventory est en mesure d'inventorier les logiciels portables ?

Un exemple : un utilisateur lance une version de Firefox où l'installation n'est pas nécessaire (=portable), donc pas de trace d'installation dans la base de registre ni dans Ajout / suppression de logiciels. Est-ce que l'agent serait en mesure de remonter cette information (la présence de l'exe de Firefox) et donc d'en déduire que Firefox est "installé ou utilisé" sur le poste ?

Merci pour votre réponse !

Empêcher un agent 2.0.1.0 de remonter dans la console

$
0
0
Bonjour,

Je souhaite supprimer de mon inventaire quelques postes avec l'agent v2.0.1.0 dont  je n'ai plus accès.

Sur ces poste, il y a un script dans c:\ocs qui lance OCS et envoie l'inventaire selon une tache planifiée.

Je souhaite supprimer ce dossier c:\ocs sur ces postes pour régler le problème.

Est ce qu'il y a un moyen de faire cela ? Sachant que je n'ai pas activé le https sur le serveur.

Merci

Answered: Inventorier les logiciels "portables"

$
0
0
Non, c'est impossible.

La seule façon serait d'utiliser un logiciel de monitoring (parce qu'il faudrait check toutes les 5 minutes au lieu d'un inventaire toute les 24h) qui surveille des exe que tu aurais renseigné dans la liste des taches active et fasse une comparaison avec une base de données de logiciel déjà installé. S'il savait exporter ça ensuite en texte, l'agent OCS pourrait remonter via un plugin l'information.

Bref il te faut un outil tier qui n'existe pas a ma connaissance, beaucoup de conf pour le faire marcher et un résultat plutot bancal.

Si c'est pour surveiller que ton parc qui oblige l'utilisation de Edge comme navigateur ne permette pas de lancer firefox, tu peux interdire dans un active directory l'execution de firefox.exe (contournable simplement en renommant l'exécutable mais personne n'y pense).

Aussi, OCS ne sait pas inventorier les logiciels installé en local par un utilisateur sans droit (c'est le cas de cette merde chrome).

Answered: Inventorier les logiciels "portables"

$
0
0
Bonjour kapouik

Merci pour cette réponse très détaillée !

Pour info nous utilisons actuellement le logiciel CIM d'Apsynet (qui est payant) et qui arrive à remonter les exe lors de l'inventaire (a chaque démarrage du PC ou toutes les 24h par exemple). Il y a effectivement une base de données logicielle avec laquelle il compare son relevé, et indique la présence des logiciels avec leur version etc... pour un résultat bancal, oui.
D'ailleurs le logiciel en lui même est bancal vu la difficulté à l'administrer (et c'est peu dire...), d'où la volonté de passer à autre chose. Mais après avoir présenté les avantages d'OCS Inventory au service SI, le blocage pour migrer d'un produit à l'autre se situe uniquement sur cette fonctionnalité de pouvoir "trouver" les exe via l'agent installé.

Dommage :-(

Ocsinventory-agent don't run under fedora

$
0
0
Hy guys,

i have install  ocsinventory-agent 2.3 under Fedora 26 and i schedule service with cron:

00 * * * * /usr/local/bin/ocsinventory-agent -s <dns name server>

but in Ocs Server the hosts haven't  ip and cpu clock.

If launch this command under shell:

ocsinventory-agent -s <dns name server>

ip and cpu are display.

i have some problem under centos 7.

Any idea?

Thanks very much

Answered: Ocsinventory-agent don't run under fedora

$
0
0
Hi

Post ocsinventory-agent.log file content.

Regards

Frank

Answered: #ocsinventory-agent => [error] Cannot establish communication : 404 Not Found

$
0
0
Bonjour

Merci de poster le contenu du fichier ocsinventory-agent.cfg.

Cordialement

Frank

Agent dont sinc

$
0
0

Hello!

Friends!

I have a small problem, I made all the installation as the wiki synchronized the OCS with the GLPI ... but my agents do not communicate with the OCS, below follows the logs

Can you help me?

Starting OCS Inventory NG Agent on Thursday, August 10, 2017 17:11: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)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending Prolog
DID_CHECK => Hostname changed new:<CATG-HP02> old:<>
DID_CHECK => Generating new unique ID for device <CATG-HP02>
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

My server is hosted in DEBIAN, OCS is in the last version

Answered: Cannot establish communication

Viewing all 4573 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>