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

Answered: Filename not reporting for Windows or OSX

$
0
0
To clarify, there is no data present in the Filename field for any audit we are receiving from any client.

The field in the database is empty.

Warranty window in inventoried computers

Answered: ocs agent 2.1.1 ne se connecte pas au serveur en 2.1.2

$
0
0
Bonjour,

j'ai exactement le même problème que vous.

Quand vous dites tout est ok ? suite au changement de mot de passe MySQL, ou l'avez vous changé ?

Cordialement

Local USB scanners are not detected

$
0
0

Hello, we have OCS 2.3.1 and we have noticed that USB scanners are not detected. For example, Canon Image formula DR-F120. Is there a way to solve it?

Answered: Ocsinventory-agent don't run under fedora

$
0
0
third part..

[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[Mon Oct 16 15:18:04 2017][debug]  - dmidecode found
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::CentOS disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Oracle disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::Virtualization::Xen disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::Virtualization::Xen'
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::IpDiscover
[Mon Oct 16 15:18:04 2017][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::IpDiscover::IpDiscover
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Batteries
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Bios
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Memory
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Ports
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Slots
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::UUID
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Mon Oct 16 15:18:04 2017][debug]  - Sys::Hostname loaded
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Controllers
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Modems
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Sounds
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Videos
[Mon Oct 16 15:18:04 2017][debug]  - xrandr found
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lsusb
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lsusb::Usb
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Mon Oct 16 15:18:04 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Distro::LSB
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Drives
[Mon Oct 16 15:18:06 2017][debug]  - dumpe2fs found
[Mon Oct 16 15:18:06 2017][debug]  - dumpe2fs found
[Mon Oct 16 15:18:06 2017][debug]  - dumpe2fs found
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Inputs
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::LVM
[Mon Oct 16 15:18:06 2017][debug]  - pvs found
[Mon Oct 16 15:18:06 2017][debug]  - vgs found
[Mon Oct 16 15:18:06 2017][debug]  - lvs found
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Mem
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::IP
[Mon Oct 16 15:18:06 2017][debug]  - ip found
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::Networks
[Mon Oct 16 15:18:06 2017][debug]  - ip found
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sounds
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Storages
[Mon Oct 16 15:18:06 2017][debug] runWithTimeout(): unexpected error: Can't call method "can_run" on an undefined value at /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm line 280.
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sys
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Uptime
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::Virtualization::Libvirt
[Mon Oct 16 15:18:06 2017][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Mon Oct 16 15:18:07 2017][debug] Calling handlers : `inventory_handler'
[Mon Oct 16 15:18:07 2017][debug] Section HARDWARE has changed since last inventory
[Mon Oct 16 15:18:07 2017][debug] Section DRIVES has changed since last inventory
[Mon Oct 16 15:18:07 2017][debug] sending XML
[Mon Oct 16 15:18:07 2017][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

Install Agente on Ubuntu 17

$
0
0

I'm trying to install OCS Agent 2.3 on Ubuntu 17 But an error is happening when running the installer.

This is the error message:
root@ubuntu:~/agent# perl Makefile.PL 
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.

The repository version is 2.0.5 and does not collect much information.

Answered: ocs agent 2.1.1 ne se connecte pas au serveur en 2.1.2

$
0
0
Le mot de passe de l'utilisateur mysql est à changer dans le fichier ocsinventory-server.conf et il faut redémarrer le serveur apache ensuite pour que la modification soit prise en compte.

Cordialement

Frank

OCS Agent v2.3.1.0 missing information

$
0
0

So we set up a fresh Server 2.3.1 which is running fine. Now we have the problem that the Agent 2.3.1 for macOS and Windows is not reporting detailed memory information. When we use the 2.1.1 client everything gets reported fine.

See screenshots.

2.1.1 Overview

2.1.1 detailed

2.3.1 Overview

2.3.1 Detailed

Is this a known bug?


Answered: OCS Agent v2.3.1.0 missing information

Answered: OCS Agent v2.3.1.0 missing information

Pas de remontée utilisateur avec l'agent OCS Windows 2.1.0.3

$
0
0
Bonjours, tout est dans le sujet,

Mais un peu plus de précision est de mise.

La remontée de mes machines s'effectue correctement, cependant je remarque (au niveau serveur) que l'agent ne me remonte que les utilisateurs des OS anterieur à windows serveur 2012 (2008, SBS 2011 etc).

Sachant qu'avec la nouvelle version de l'agent OCS, il ne me remonte pas mes postes.

Avez-vous une idée.

Merci

OCS Inventory migration and upgrade

$
0
0

Hello,

I'm trying to move/upgrade our OCS Inventory to the latest version.

I chose to do a brand new installation for the server (version 2.3.1) on a Linux CentOS 5.11: after installing the required PHP and Perl modules (the VM already had its L.A.M.P. applications), the procedure worked well and the server is now up with the default options.

Then I uploaded the file OCS-NG-Windows-Agent-Setup.exe from the OCS agent bundle (the agent version is 2.1.1, since we still have several Windows XP machines in our network) through the Web Administration Interface: also this upload worked.

Then I setup OCSLogon.exe to distribute the new agent (the PCs in the network already have an older version): I uploaded the file on a Samba share (on a machine other than the OCS Server) and configured its execution in the netlogon script with this line:

\\pdcsamba\setup\OcsLogon.exe /NO_SERVICE /S /DEPLOY=2.1.1.1 /SERVER=http://192.168.10.16/ocsinventory /DEBUG /EDITLOG

The script executes and creates its OcsLogon.log file in the %TEMP% folder, but after execution I cannot see any information about my PC on the OCS Server. This is the log file:

********************************************************
Starting OCS Inventory NG Logon Installer 2.1.0.3 on 30/08/2017 at 9:29:46
Checking if not already running...OK
Parsing command line arguments...OK
Searching OCS Inventory NG Agent installed version...OK (1.0.3.2)
OCS Inventory NG Agent version 1.0.3.2 installed, upgrade to version 2.1.1.1 required.
Download timeout is set to <60000> millisecond.
Download does not use HTTP proxy server.
Downloading file <http://192.168.10.16/ocsinventory/deploy/OCS-NG-Windows-Agent-Setup.exe> without server authentication...OK (C:\Users\CISCOD~1\AppData\Local\Temp\OCS-NG_Agent_Setup.exe)
Starting OCS Inventory NG Agent installer...OK (exit code is OK)
Windows does not automatically start OCS Inventory NG Service, so starting Agent <C:\ocs-ng\Ocsinventory.exe>...OK (exit code is 0)
All done, exiting ;-)

Is really everything OK in this procedure (despite the log file, it seems that the existing agent on the PC isn't upgraded... the log remains the same in repeated executions)? What's missing to complete the inventory?

Thanks in advance for answering...

My OCS is not updating

$
0
0

Hi, I've been registering new computers for several weeks in my OCS Inventory database, but these are not registered, since I check for my browser and they do not appear. If you know what solution you can give I thank you for sharing it. Thank you.

Answered: Pas de remontée utilisateur avec l'agent OCS Windows 2.1.0.3

$
0
0
L'agent 2.1 est ancien et n'est pas compatible avec les versions récentes de windows. Merci de mettre à jour.

Base registre - HKEY_CURRENT_USER

$
0
0
Bonjour,

J'essaie de récupérer la valeur d'une clé se trouvant dans la rush HKEY_CURRENT_USER mais ça ne fonctionne pas.
Pour être plus précis, j'aimerai récupérer la valeur de la clé HKEY_CURRENT_USER\Volatile Environment\LOGONSERVER

Pensant que l'espace dans le chemin de la clé posait problème, j'ai effectué un test sur une autre clé de HKEY_CURRENT_USER mais la remontée d'inventaire n'arrive pas à récupérer l'information.
En revanche, lorsque je crée une clé ciblant la rush HKEY_LOCAL_MACHINE, je n'ai pas de problème.
Vous remerciant par avance.

OCS Agent 2.3.1 (Windows) - Memory leak

$
0
0

I have the Resources Monitor opened and the assigned memory keeps growing, and also, there is a very notorius and evident difference in the memory consumption among several computers revised (!). Here some data, one for a Windows 10 computer and one for a Windows 2012 Server:

Windows 10 computer

  • Initital values:
    • Commit (reserved memory for OcsService): 98 MB 
    • Working Set (memory in use): 13 MB
  • 1 hour later:
    • Commit (reserved memory for OcsService): 103 MB (+5 MB)
    • Working Set (memory in use): 17 MB (+4 MB)

Server Windows 2012

  • Initital values:
    • Commit (reserved memory for OcsService):  44 MB 
    • Working Set (memory in use): 48 MB
  • 01:20 hours later:
    • Commit (reserved memory for OcsService): 49 MB (+5 MB)
    • Working Set (memory in use): 53 MB (+5 MB)

And OcsSystray.exe has: 3 MB reserved, and no more than10 MB of memory used in all computers and servers revised.

Just after restarting the windows 10 computer, and the Resources Monitor shows only:

  • Commited memory: 6 MB 
  • Working Set: 13 MB

By the way, if I use the Task Manager (taskmgr.exe) instead the Resource Monitor, the values of used memory are (total physical memory reserved for virtual processes):

  • Windows 10 computer: 4 MB, OcsSystray.exe: 1.5 MB

Well, I revised both a Windows 10 computer and a Windows 2012 Server with OcsAgent 2.3.0 and the commited and working set are just around 5 MB for the first one and 5 and 10 MB for the server. So it seems to me, there is a memory leak bug!

I opened a bug report here: https://bugs.launchpad.net/ocsinventory-windows-agent/+bug/1724619

Thank you

Answered: My OCS is not updating

$
0
0

Hi,

the first thing is to check the communication between the client agent and the OCS server ... For an OCS agent under Windows, edit the file : C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log

If there is a communication error, it must be indicated in this file.

> If that is right, check the IP address / DNS and port of the server in OCSInventory.ini file (in the same folder).

If you communicate in https, SSL must be enabled and the certificate (shared with the server) must be copied to this folder.

Note : In your case, the service "OCS Inventory service" must be started and if you have to change the contents of the OCSInventory file, you must stop this service first.

Regards, Stéphane

My OCS is not updating

$
0
0

Hello, this is the result of the file that mentions that I review and execute the agent, I check in my database and I do not see the data of the equipment yet. Thank you and stay tuned.

Starting OCS Inventory NG Agent on Wednesday, October 18, 2017 13:10:53.

AGENT => Running OCS Inventory NG Agent Version 2.1.1.3

AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.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) 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.1.1.3>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <RECEPCION-2017-08-30-13-45-32> and MACs <B0:83:FE:4F:15:C3> 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://181.49.230.174/ocsinventory>

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

COM SERVER => Cleaning cURL library

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

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

Answered: Where a bug should be reported?

OCS Agent 2.3.1 (MAC OX) installs but do not work properly!!!!

$
0
0
I am trying to install ocs agent in a MAC OS, however even the instalation goes fine, it is not reporting.

LOG ERROR MESSAGE:

missing COMPRESS::zlib  tying to compress with gzip but will not work with server version higher them 1.2

 (BAD ERROR 400)
Viewing all 4573 articles
Browse latest View live


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