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.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

No hard disk information

I was using agent version 2.4, but I had some information missing. There was no information about the HD, the monitors and software installation date(it was set to zero).

I tried updated the agent to the version 2.6 and the software installation date is correct now :). However, the other information are still missing. Can anyone help me?

Other thing that happened when updating to 2.6 is that now in the hardware section instead of showing 1 processor with 8 logical CPUs, is showing 8 processors with 0 logical CPUs.

OS: ubuntu 18.04

Server: 2.6

Agent: 2.6

Here is the ocs_agent.log in a part that shows fail:

obs: I tried installing Parse::EDID and the error remains the same.

[Mon Jul 29 12:33:25 2019][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.0
[Mon Jul 29 12:33:25 2019][debug] Log system initialised (File)
[Mon Jul 29 12:33:25 2019][debug] --scan-homedirs missing. Don't scan user directories
[Mon Jul 29 12:33:25 2019][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__192.168.0.241_ocsinventory/ocsinv.adm
[Mon Jul 29 12:33:25 2019][debug] OCS Agent initialised
[Mon Jul 29 12:33:25 2019][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Mon Jul 29 12:33:25 2019][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.0
[Mon Jul 29 12:33:25 2019][debug] Log system initialised (File)
[Mon Jul 29 12:33:25 2019][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.0
[Mon Jul 29 12:33:25 2019][debug] Log system initialised (File)
[Mon Jul 29 12:33:25 2019][debug] Calling handlers : `start_handler'
[Mon Jul 29 12:33:25 2019][debug] [download] Calling download_start_handler
[Mon Jul 29 12:33:25 2019][debug]  - LWP loaded
[Mon Jul 29 12:33:25 2019][debug]  - LWP::Protocol::https loaded
[Mon Jul 29 12:33:25 2019][debug] [snmp] Calling snmp_start_handler
[Mon Jul 29 12:33:25 2019][debug]  - Net::SNMP loaded
[Mon Jul 29 12:33:25 2019][debug] Compress::Zlib is available.
[Mon Jul 29 12:33:25 2019][debug] Calling handlers : `prolog_writer'
[Mon Jul 29 12:33:25 2019][debug] sending XML
[Mon Jul 29 12:33:25 2019][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>joao-desktop-2019-07-29-10-13-25</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Mon Jul 29 12:33:26 2019][debug] =BEGIN=SERVER RET======
[Mon Jul 29 12:33:26 2019][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM CYCLE_LATENCY="60" FRAG_LATENCY="10" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" PERIOD_LATENCY="1" ON="0" TYPE="CONF" TIMEOUT="30" />
  </OPTION>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>
';
[Mon Jul 29 12:33:26 2019][debug] =END=SERVER RET======
[Mon Jul 29 12:33:26 2019][debug] PROLOG_FREQ has not changed since last process
[Mon Jul 29 12:33:26 2019][debug] Calling handlers : `prolog_reader'
[Mon Jul 29 12:33:26 2019][debug] [download] Calling download_prolog_reader
[Mon Jul 29 12:33:26 2019][debug] [download] <?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM CYCLE_LATENCY="60" FRAG_LATENCY="10" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" PERIOD_LATENCY="1" ON="0" TYPE="CONF" TIMEOUT="30" />
  </OPTION>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>
[Mon Jul 29 12:33:26 2019][debug] [download] Writing config file.
[Mon Jul 29 12:33:26 2019][info] [download] Download is off.
[Mon Jul 29 12:33:26 2019][debug] [snmp] Calling snmp_prolog_reader
[Mon Jul 29 12:33:26 2019][debug] Failed to load Ocsinventory::Agent::Backend::OS::MacOS::Video: Can't locate Parse/EDID.pm in @INC (you may need to install the Parse::EDID module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/local/share/perl/5.26.1/Ocsinventory/Agent/Backend/OS/MacOS/Video.pm line 4.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.26.1/Ocsinventory/Agent/Backend/OS/MacOS/Video.pm line 4.
Compilation failed in require at (eval 133) line 1.
BEGIN failed--compilation aborted at (eval 133) line 1.
[Mon Jul 29 12:33:26 2019][debug] Failed to load Ocsinventory::Agent::Backend::OS::Generic::Screen: Can't locate Parse/EDID.pm in @INC (you may need to install the Parse::EDID module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/local/share/perl/5.26.1/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm line 5.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.26.1/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm line 5.
Compilation failed in require at (eval 214) line 1.
BEGIN failed--compilation aborted at (eval 214) line 1.
in OCS Inventory NG agent for Unix by (140 points)

1 Answer

0 votes
Hi,

Could you please post the ocsinventory agent log full file content after installing missing perl modules (Parse::EDID) please?

Regards

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