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.

No Network Interface in the inventory

Hi all,

I am trying to make this work. Ocsinventory-agent does not report any network card to the server. I can have all the other information but not the network interfaces. Net-Tools is installed, the OS version is Ubuntu Bionic Beaver (18.04). Thank you in advance! Down below is the verbose log output:

[Wed Feb 28 11:46:31 2018][debug] PROLOG_FREQ has not changed since last process
[Wed Feb 28 11:46:31 2018][info] No support detected. Registration key: N/A
[Wed Feb 28 11:46:31 2018][debug] Calling handlers : `prolog_reader'
[Wed Feb 28 11:46:31 2018][debug] [download] Calling download_prolog_reader
[Wed Feb 28 11:46:31 2018][debug] [download] <?xml version='1.0' encoding='UTF-8'?>
[Wed Feb 28 11:46:31 2018][debug] [download] Writing config file.
[Wed Feb 28 11:46:31 2018][info] [download] Download is off.
[Wed Feb 28 11:46:32 2018][debug]  - dmidecode found
[Wed Feb 28 11:46:32 2018][debug]  - dmidecode found
[Wed Feb 28 11:46:32 2018][debug]  - Sys::Hostname loaded
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug]  - ps found
[Wed Feb 28 11:46:32 2018][debug]  - /proc/cpuinfo can be read
[Wed Feb 28 11:46:32 2018][debug]  - lsb_release found
[Wed Feb 28 11:46:32 2018][debug]  - hostname found
[Wed Feb 28 11:46:32 2018][debug]  - /etc/resolv.conf can be read
[Wed Feb 28 11:46:32 2018][debug]  - df found
[Wed Feb 28 11:46:32 2018][debug]  - /proc/meminfo can be read
[Wed Feb 28 11:46:32 2018][debug]  - ifconfig found
[Wed Feb 28 11:46:32 2018][debug]  - ifconfig found
[Wed Feb 28 11:46:32 2018][debug]  - route found
[Wed Feb 28 11:46:32 2018][debug]  - Net::IP qw(:PROC) loaded
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug]  - mount found
[Wed Feb 28 11:46:32 2018][debug]  - /proc/uptime can be read
[Wed Feb 28 11:46:32 2018][debug]  - dmidecode found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Debian disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::IpDiscover
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Bios
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Memory
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Ports
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::Slots
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Dmidecode::UUID
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Wed Feb 28 11:46:32 2018][debug]  - Sys::Hostname loaded
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Controllers
[Wed Feb 28 11:46:32 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Modems
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Sounds
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Videos
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Wed Feb 28 11:46:33 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging has no run() function -> ignored
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Processes
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386
[Wed Feb 28 11:46:33 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::i386 has no run() function -> ignored
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Distro::LSB
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Domains
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Drives
[Wed Feb 28 11:46:33 2018][debug]  - dumpe2fs found
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Mem
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::IPv4
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::Networks
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sounds
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Storages
[Wed Feb 28 11:46:33 2018][debug]  - hdparm found
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sys
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Uptime
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Wed Feb 28 11:46:33 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Wed Feb 28 11:46:33 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Wed Feb 28 11:46:33 2018][debug] Calling handlers : `inventory_handler'
[Wed Feb 28 11:46:33 2018][debug] [download] Calling download_inventory_handler
[Wed Feb 28 11:46:33 2018][debug] Section HARDWARE has changed since last inventory
[Wed Feb 28 11:46:33 2018][debug] Missing value(s): MAC-address . I will send this inventory to the server BUT important value(s) to identify the computer are missing
[Wed Feb 28 11:46:34 2018][debug] sending XML
[Wed Feb 28 11:46:34 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
in OCS Inventory NG agent for Unix by (420 points)

9 Answers

0 votes
Hi,

Which version of the agent do you use and how was it installed?

Regards

Frank
by (88.5k points)
0 votes
The version I use is 2.0.5

I installed it using apt-get install ocsinventorry-agent

Then I specified my servers URL.
by (420 points)
0 votes
Hi,

Too old version. Not yet supported. Update to the latest version if you have 2.4 ocs server.

Regards

Frank
by (88.5k points)
0 votes
Thank you for your answer.

I just wonder why is it working on other servers that have the same version but not this one...

It is install on ubuntu precise,trusty and xenial and it works perfectly.. with 2.0.5

And yes the server version I have is 2.4
by (420 points)
0 votes
post the log file entirely. not the one you have post.

Regards

Frank
by (88.5k points)
0 votes
The log file is quite long. And on this forum, we can only put 8000 character... How do you want to see it?
by (420 points)
0 votes
the 100 first lines of the file

Regards

Frank
by (88.5k points)
0 votes
[Wed Feb 28 11:46:31 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.0.5
[Wed Feb 28 11:46:31 2018][debug] Log system initialised (File)
[Wed Feb 28 11:46:31 2018][debug] --scan-homedirs missing. Don't scan user directories
[Wed Feb 28 11:46:31 2018][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__ocs.iharriscomputer.com_ocsinventory/ocsinv.adm
[Wed Feb 28 11:46:31 2018][debug] OCS Agent initialised
[Wed Feb 28 11:46:31 2018][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Wed Feb 28 11:46:31 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.0.5
[Wed Feb 28 11:46:31 2018][debug] Log system initialised (File)
[Wed Feb 28 11:46:31 2018][debug] Calling handlers : `start_handler'
[Wed Feb 28 11:46:31 2018][debug] [download] Calling download_start_handler
[Wed Feb 28 11:46:31 2018][debug]  - Net::SSLeay qw(die_now die_if_ssl_error) loaded
[Wed Feb 28 11:46:31 2018][debug] Compress::Zlib is available.
[Wed Feb 28 11:46:31 2018][debug] Calling handlers : `prolog_writer'
[Wed Feb 28 11:46:31 2018][debug] sending XML
[Wed Feb 28 11:46:31 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>odc1util02-2018-02-28-11-17-46</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Wed Feb 28 11:46:31 2018][debug] =BEGIN=SERVER RET======
[Wed Feb 28 11:46:31 2018][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <OPTION>
    <PARAM CYCLE_LATENCY="60" TIMEOUT="30" EXECUTION_TIMEOUT="120" PERIOD_LATENCY="1" ON="0" FRAG_LATENCY="10" TYPE="CONF" PERIOD_LENGTH="10" />
    <NAME>DOWNLOAD</NAME>
  </OPTION>
  <PROLOG_FREQ>24</PROLOG_FREQ>
  <RESPONSE>SEND</RESPONSE>
</REPLY>
';
[Wed Feb 28 11:46:31 2018][debug] =END=SERVER RET======
[Wed Feb 28 11:46:31 2018][debug] PROLOG_FREQ has not changed since last process
[Wed Feb 28 11:46:31 2018][info] No support detected. Registration key: N/A
[Wed Feb 28 11:46:31 2018][debug] Calling handlers : `prolog_reader'
[Wed Feb 28 11:46:31 2018][debug] [download] Calling download_prolog_reader
[Wed Feb 28 11:46:31 2018][debug] [download] <?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <OPTION>
    <PARAM CYCLE_LATENCY="60" TIMEOUT="30" EXECUTION_TIMEOUT="120" PERIOD_LATENCY="1" ON="0" FRAG_LATENCY="10" TYPE="CONF" PERIOD_LENGTH="10" />
    <NAME>DOWNLOAD</NAME>
  </OPTION>
  <PROLOG_FREQ>24</PROLOG_FREQ>
  <RESPONSE>SEND</RESPONSE>
</REPLY>
[Wed Feb 28 11:46:31 2018][debug] [download] Writing config file.
[Wed Feb 28 11:46:31 2018][info] [download] Download is off.
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::IpDiscover::IpDiscover ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Wed Feb 28 11:46:32 2018][debug]  - dmidecode found
[Wed Feb 28 11:46:32 2018][debug]  - dmidecode found
[Wed Feb 28 11:46:32 2018][debug]  - Sys::Hostname loaded
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Wed Feb 28 11:46:32 2018][debug]  - dpkg found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Wed Feb 28 11:46:32 2018][debug]  - ps found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Screen ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::ARM ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::Alpha ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::MIPS ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::PowerPC ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::SPARC ignored
[Wed Feb 28 11:46:32 2018][debug]  - /proc/cpuinfo can be read
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::m68k ignored
[Wed Feb 28 11:46:32 2018][debug]  - lsb_release found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::ArchLinux ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Fedora ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Gentoo ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Knoppix ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandrake ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandriva ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Redhat ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Slackware ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::SuSE ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Trustix ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Ubuntu ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::VmWare ignored
[Wed Feb 28 11:46:32 2018][debug]  - hostname found
[Wed Feb 28 11:46:32 2018][debug]  - /etc/resolv.conf can be read
[Wed Feb 28 11:46:32 2018][debug]  - df found
[Wed Feb 28 11:46:32 2018][debug]  - /proc/meminfo can be read
[Wed Feb 28 11:46:32 2018][debug]  - ifconfig found
[Wed Feb 28 11:46:32 2018][debug]  - ifconfig found
[Wed Feb 28 11:46:32 2018][debug]  - route found
[Wed Feb 28 11:46:32 2018][debug]  - Net::IP qw(:PROC) loaded
[Wed Feb 28 11:46:32 2018][debug]  - lspci found
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::HP ignored
[Wed Feb 28 11:46:32 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Lsilogic ignored
by (420 points)
0 votes
Hi,

Have you got the problem?

Regards

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