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

Answered: agent does not sent inventory

$
0
0
under Debian or ubuntu, you must enable ocsinventory-server.conf and ocsinventory-reports.conf in the apache configuration.

There is nothing to do in /var/www to made ocs working.

Answered: Agent OCS ne s'installe pas certains Windows 10

$
0
0
Bonsoir,

Je sais que c'est un vieux topic, mais je signale la même chose :

 serveur ocs en 2.6 sur un ubuntu server 19.04, tout marche nickel, sauf le même problème de déploiement de l'agent  2.4 (faudrait que je teste en 2.6) sur certain windows 10, ja l'ai contourné en appliquant la même solution : MERCI beaucoup de l'avoir indiquée !

Bien cordialement

Plugins don't send data to OCS Server

$
0
0
Hi people, I have installed two plugins in my OCS Inventory NG server 2.5: Running Process and Security Certificate.

On the server side -mine is OCS Inventory 2.5-, I put the .zip plugins under /usr/share/ocsinventory-reports/ocsreports/download, and after that I installed them from the Plugin Manager option and everything was OK.

On the agent side, I put both agent parts of plugins (Processes.pm and Securitycertificate.pm) under /usr/local/share/perl/5.24.1/Ocsinventory/Agent/Modules.

After that I ran the ocsinventory-agent Perl script and finally I went to the miscellaneous option from the OCS Inventory Server and a saw that the Running Process and Security Certificate sections were totally empty. Agents don't send data to server.

Please can you tell me what can be wrong, or what can I do in order to put to work plugins ??? Any way to check the agent side plugins execution ???

Special thanks.

Answered: Failed to download Metadata

$
0
0
Please ? i realy neeed help because i son't understand why it don't work

Agent 2.6 issue available in centOS7 repository

$
0
0
When starting the agent I get the message below, my server is at version 2.6

 # ocsinventory-agent
Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.

Does anyone know how to fix this problem?

[error] Deflating Problem

$
0
0

Hello,

I'm sorry for my bad english skills but i try my best. I'm from Germany so a German answer would be very nice but english is also fine. :)

I tried to set up OCS Inventory. I installed the ocs server 2.5 with the repository package of debian buster. The Server seems to work. Than i installed the Unix Agent 2.4.2 on my Linux Mint 19 PC. I installed it also with the repository package.

My problem is when i start the agent with

sudo ocsinventory-agent --debug

he gives me this response

sudo ocsinventory-agent --info --debug
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__ocsinventory.intern.bfw-dresden.de_ocsinventory-reports_/ocsinv.adm
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[debug] [download] Calling download_start_handler
[debug]  - LWP loaded
[debug]  - LWP::Protocol::https loaded
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>tf02-MiniPC-2019-04-04-09-32-04</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[error] Deflating problem

My /etc/ocsinventory/ocsinventory-agent.cfg :

server=http://ocsinventory.intern.bfw-dresden.de/ocsinventory-reports/
proxyPort = 3128
port = 80
#proxy = 10.11.255.254:3128
debug = 2

I think .../ocsinventory-reports/ must be fine because i moved this from /usr/share/... to /var/www/html/...  to get the Webinterface working

I used WireShark to find a problem. So i found out that the agent is trying to send to the log in page because wireshark showed me that the server is giving response with the html skript of the log-in page.     is this right? i didn't think so but i don't find a solution to fix it

Thanks in advance !

i hope someone can help me with my problem

Answered: Failed to download Metadata

Tip#1 usage of OPSI-script in OCS-Inventory


Answered: Agent 2.6 issue available in centOS7 repository

$
0
0
Hi

+1 from me, as I'm facing exactly the same problem

Michal

Failed to send Inventory, Error 500, some clients

$
0
0
Hello

I'm just implementing OCS Inventoroy NG to our network. I've been testing it with few clients and mostly everything works, but there are some clients that do not appear to OCS management. I cannot find out the reason why.. These are Win7 and Win10 clients and in same network with working clients. We used to have OCS installed few years ago and there might be leftovers from previous clients on these computers.

This is what agent log looks like:

Agent log

========================================================================

Starting OCS Inventory NG Agent on Friday, September 27, 2019 19:30:57.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.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.6.0.0>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

AGENT => Inventory required

AGENT => Launching hardware and software checks

AGENT => Sending Inventory

INVENTORY => Inventory changed since last run

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

AGENT =>  Communication Server asked for Package Download

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

apache log (changed the ip)

1.2.3.4 - - [27/Sep/2019:19:30:59 +0300] "GET /ocsinventory/deploy/label HTTP/1.1" 400 489 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

1.2.3.4 - - [27/Sep/2019:19:30:59 +0300] "POST /ocsinventory HTTP/1.1" 200 409 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

1.2.3.4 - - [27/Sep/2019:19:32:19 +0300] "POST /ocsinventory HTTP/1.1" 500 830 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

Few clients started to work when I uninstalled the OCS agent, Rebooted client, deleted the folder C:\ProgramData\OCS Inventory NG and reinstalled the client, but this does not help with all clients.

Does OCS install files anywhere else than C:\Program Files\OCS Inventory Agent and C:\ProgramData\OCS Inventory NG? How about registry? Is there something to look for? Or is this possibley related to OCS server some how?

Agent and the server are both version 2.6

Problem Agent Deployment Tool

$
0
0

Bonjour,

Je dois effectuer un inventaire de toutes les machines présentes sur le réseau de mon entreprise (inclus dans l'AD ou non).

J'ai cette erreur qui s'affiche : "Nom de réseau introuvable". Que puis-je faire?

Hello,

I have to make an inventory of all the computers on my business network. I have some computers that aren't in the AD.
This error appears when I try to use the Agent Deployment Tool : 

Answered: Failed to send Inventory, Error 500, some clients

Deflating problem ocsinventory-agent does not work

Inventory of unrecognized peripherals

$
0
0
Hi All,

I need to do the inventory of GPIB and FrameGrabber PCI cards installed in some computers, but the agent doesn't recognize them automatically. How can fix it ?

Thanks in advance Enrico

Answered: Deflating problem ocsinventory-agent does not work

$
0
0
Hi,

I experiment same problem, soved with use another client

Regards.

Answered: non-inventoried server

$
0
0
Hi,

Try local inventory and see in generated xml.. it works ?

Regards

Answered: agent does not sent inventory

$
0
0

under Debian or ubuntu, you must enable ocsinventory-server.conf and ocsinventory-reports.conf in the apache configuration.

I enabled the ocsinventory-server.conf and the ocsinventory-reports.conf with a2enconf ocsinventory-server; a2enconf ocsinventory-reports. After enabling the first one the server wasn't available anymore. So I disabled it again (a2disconf ocsinventory-server.conf) and the server is reachable again. But still the inventory isn't possible.

Are there more configs to enable?

remonté d'inventaire vers le serveur OCS

$
0
0

Bonjour,

Je viens de procéder a l'installation des serveurs OCSinventory sur un centos 7. Je l'ai installé sur un serveur physique dedier.

J'ai installé l'agent windows sur un autre pc tournant sous windows 10 Ent 64Bit.

Lorsque j'exécute l'agent j'ai une notification d'agent executé avec succès mais rien ne remonte coté serveur (OCS).

Voici le contenu de mon fichier ocsinventory.ini :

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=1

Local=

NoSoftware=0

HKCU=0

NoTAG=0

IpDisc=

[HTTP]

Server=http://XX.XX.X.XXX/ocsinventory

SSL=1

CaBundle=cacert.pem

AuthRequired=0

User=

Pwd=

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

TTO_WAIT=0

INVENTORY_ON_STARTUP=0

PROLOG_FREQ=10

OLD_PROLOG_FREQ=10

Et voici le contenu de mon fichier OCSinventory.log :

==============================================================================

Starting OCS Inventory NG Agent on Friday, October 04, 2019 20:52:40.

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)

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) successfully 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.4.0.0>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <XXX-SGE-XXX-04-2019-10-02-13-28-58> and MACs <XX:1C:BF:F8:96:B510:E7:C6:EX:A7:XX> 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 => 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://XX.XX.X.XXX/ocsinventory>

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

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

merci d'avance pour votre aide

Doudou

install package using powershell script

$
0
0
Hello,

I need to serach and find the version of one of the application in serveral PCs, and then uninstall it and install the last version by using the package in OCS.

I bulid my package but I need to know how to run the powershell script from the command filed in execute mode

I used this one but it is notwork :

powershell.exe -executionpolicy bypass -noprofile -command "&{ .\my_script.ps1}"

anyone have an idea to solve this
note I test the script and it is work fine, but OCS can't run it
best regards,

Answered: remonté d'inventaire vers le serveur OCS

Viewing all 4573 articles
Browse latest View live


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