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

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

missing ip and uuid in inventory

Hi. 

I don't see information about ip address and uuid in my inventory. there is an error in the ocsinventory agent log:

[Tue Dec 15 17:30:07 2020][debug] Section HARDWARE has changed since last inventory

[Tue Dec 15 17:30:07 2020][debug] Section DRIVES has changed since last inventory

[Tue Dec 15 17:30:07 2020][debug] Missing value(s): MAC-address SSN . I will send this inventory to the server BUT important value(s) to identify the computer are missing

[Tue Dec 15 17:30:08 2020][debug] sending XML

The network works well, mac address and SSN are fine. How can the problem be solved?
in OCS Inventory NG agent for Unix by (260 points)

5 Answers

0 votes
Hi,

Could you post the full content of ocsinventory-agent.log file, plz ?

Regards

Frank
by (84.3k points)
0 votes
[Wed Dec 16 14:05:01 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.1

[Wed Dec 16 14:05:01 2020][debug] Log system initialised (File)

[Wed Dec 16 14:05:01 2020][debug] --scan-homedirs missing. Don't scan user directories

[Wed Dec 16 14:05:01 2020][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__vmskinventory1_ocsinventory/ocsinv.adm

[Wed Dec 16 14:05:01 2020][debug] OCS Agent initialised

[Wed Dec 16 14:05:01 2020][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf

[Wed Dec 16 14:05:01 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.1

[Wed Dec 16 14:05:01 2020][debug] Log system initialised (File)

[Wed Dec 16 14:05:01 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.6.1

[Wed Dec 16 14:05:01 2020][debug] Log system initialised (File)

[Wed Dec 16 14:05:01 2020][debug] Calling handlers : `start_handler'

[Wed Dec 16 14:05:01 2020][debug] [snmp] Calling snmp_start_handler

[Wed Dec 16 14:05:01 2020][debug]  - Net::SNMP loaded

[Wed Dec 16 14:05:01 2020][debug] [download] Calling download_start_handler

[Wed Dec 16 14:05:01 2020][debug]  - LWP loaded

[Wed Dec 16 14:05:01 2020][debug]  - LWP::Protocol::https loaded

[Wed Dec 16 14:05:01 2020][debug] Compress::Zlib is available.

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::IpDiscover ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::AIX ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::BSD ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Dmidecode ignored

[Wed Dec 16 14:05:02 2020][debug]  - Sys::Hostname loaded

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Lspci ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Lsusb ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::BSD ignored

[Wed Dec 16 14:05:02 2020][debug]  - yum found

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Debian ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Rhel ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::ARM ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::Alpha ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::MIPS ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::PowerPC ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::SPARC ignored

[Wed Dec 16 14:05:02 2020][debug]  - lscpu found

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::m68k ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::s390x ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::LSB ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::ArchLinux ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Debian ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Fedora ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Gentoo ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Knoppix ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandrake ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandriva ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Oracle ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Redhat ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Slackware ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::SuSE ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Trustix ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Ubuntu ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::VmWare ignored

[Wed Dec 16 14:05:02 2020][debug]  - /etc/os-release can be read

[Wed Dec 16 14:05:02 2020][debug]  - hostname found

[Wed Dec 16 14:05:02 2020][debug]  - df found

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::LVM ignored

[Wed Dec 16 14:05:02 2020][debug]  - /proc/meminfo can be read

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Network::IP ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Network::Networks ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Sounds ignored

[Wed Dec 16 14:05:02 2020][debug]  - lsscsi found

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::FusionIO ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::HP ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Lsilogic ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Megacli ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::ServeRaid ignored

[Wed Dec 16 14:05:02 2020][debug]  - mount found

[Wed Dec 16 14:05:02 2020][debug]  - /proc/uptime can be read

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::OS::Solaris ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Docker ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Jails ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisLdoms ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Vmsystem ignored

[Wed Dec 16 14:05:02 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored

[Wed Dec 16 14:05:03 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored

[Wed Dec 16 14:05:03 2020][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored

[Wed Dec 16 14:05:03 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::CentOS disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'

[Wed Dec 16 14:05:03 2020][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::AccessLog

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::DeviceID

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname

[Wed Dec 16 14:05:03 2020][debug]  - Sys::Hostname loaded

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository

[Wed Dec 16 14:05:03 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository::CentOS
by (260 points)
0 votes
[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Screen

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Distro::OSRelease

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Domains

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Drives

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Inputs

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Mem

[Wed Dec 16 14:05:05 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Storages

[Wed Dec 16 14:05:05 2020][debug]  - udevadm found

[Wed Dec 16 14:05:05 2020][debug]  - udevadm found

[Wed Dec 16 14:05:06 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sys

[Wed Dec 16 14:05:06 2020][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Uptime

[Wed Dec 16 14:05:06 2020][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen

[Wed Dec 16 14:05:06 2020][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored

[Wed Dec 16 14:05:06 2020][debug] Calling handlers : `inventory_handler'

[Wed Dec 16 14:05:06 2020][debug] [download] Calling download_inventory_handler

[Wed Dec 16 14:05:06 2020][debug] Section BIOS has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Section HARDWARE has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Section MEMORIES has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Section NETWORKS has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Section DRIVES has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Section CPUS has changed since last inventory

[Wed Dec 16 14:05:06 2020][debug] Missing value(s): MAC-address SSN . I will send this inventory to the server BUT important value(s) to identify the computer are missing

[Wed Dec 16 14:05:06 2020][debug] sending XML

[Wed Dec 16 14:05:06 2020][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <CONTENT>

    <ACCOUNTINFO>

      <KEYNAME>TAG</KEYNAME>

      <KEYVALUE>vmskinventory1</KEYVALUE>

    </ACCOUNTINFO>

    <BIOS>

    </BIOS>

    <CPUS>

      <CORES>4</CORES>

      <CPUARCH>x86_64</CPUARCH>

      <CURRENT_SPEED>2596</CURRENT_SPEED>

      <DATA_WIDTH>64</DATA_WIDTH>

      <L2CACHESIZE>256K</L2CACHESIZE>

      <LOGICAL_CPUS>4</LOGICAL_CPUS>

      <MANUFACTURER>Intel</MANUFACTURER>

      <NBSOCKET>1</NBSOCKET>

      <SPEED>2600</SPEED>

      <THREADS>4</THREADS>

      <TYPE>Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz</TYPE>

    </CPUS>

    <DOWNLOAD>

      <HISTORY>

      </HISTORY>

    </DOWNLOAD>

    <DRIVES>

      <FILESYSTEM>devtmpfs</FILESYSTEM>

      <FREE>7925</FREE>

      <TOTAL>7925</TOTAL>

      <TYPE>/dev</TYPE>

      <VOLUMN>devtmpfs</VOLUMN>

    </DRIVES>

    <DRIVES>

      <FILESYSTEM>xfs</FILESYSTEM>

      <FREE>7561</FREE>

      <TOTAL>10230</TOTAL>

      <TYPE>/</TYPE>

      <VOLUMN>/dev/mapper/centos_vmskitop1-root</VOLUMN>

    </DRIVES>

    <DRIVES>

      <FILESYSTEM>xfs</FILESYSTEM>

      <FREE>764</FREE>

      <TOTAL>1014</TOTAL>

      <TYPE>/boot</TYPE>

      <VOLUMN>/dev/sda2</VOLUMN>

    </DRIVES>

    <DRIVES>

      <FILESYSTEM>vfat</FILESYSTEM>

      <FREE>188</FREE>

      <TOTAL>199</TOTAL>

      <TYPE>/boot/efi</TYPE>

      <VOLUMN>/dev/sda1</VOLUMN>

    </DRIVES>

    <DRIVES>

      <FILESYSTEM>xfs</FILESYSTEM>

      <FREE>18836</FREE>

      <TOTAL>20470</TOTAL>

      <TYPE>/var</TYPE>

      <VOLUMN>/dev/mapper/centos_vmskitop1-var</VOLUMN>

    </DRIVES>

    <DRIVES>

      <FILESYSTEM>xfs</FILESYSTEM>

      <FREE>3809</FREE>

      <TOTAL>4906</TOTAL>

      <TYPE>/home</TYPE>

      <VOLUMN>/dev/mapper/centos_vmskitop1-home</VOLUMN>

    </DRIVES>

    <HARDWARE>

      <CHECKSUM>266759</CHECKSUM>

      <DATELASTLOGGEDUSER>Wed Dec 16 10:46</DATELASTLOGGEDUSER>

      <DESCRIPTION>x86_64/00-00-16 02:55:13</DESCRIPTION>

      <DNS>10.190.30.10/10.190.30.20</DNS>

      <LASTLOGGEDUSER>root</LASTLOGGEDUSER>

      <MEMORY>15873</MEMORY>

      <NAME>vmskinventory1</NAME>

      <OSCOMMENTS>CentOS Linux 7 (Core)</OSCOMMENTS>

      <OSNAME>CentOS Linux</OSNAME>

      <OSVERSION>7</OSVERSION>

      <PROCESSORN>1</PROCESSORN>

      <PROCESSORS>2600</PROCESSORS>

      <PROCESSORT>Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz</PROCESSORT>

      <SWAP>4095</SWAP>

      <USERID>admin</USERID>

      <WORKGROUP>rfi.ru</WORKGROUP>

    </HARDWARE>

    <INPUTS>

      <DESCRIPTION>PC Speaker</DESCRIPTION>

      <TYPE>Keyboard</TYPE>

    </INPUTS>

    <NETWORKS>

    </NETWORKS>

    <STORAGES>

      <DISKSIZE>42949.67296</DISKSIZE>

      <FIRMWARE>1.0</FIRMWARE>

      <MANUFACTURER>Msft</MANUFACTURER>

      <MODEL>Virtual Disk</MODEL>

      <NAME>sda</NAME>

      <SERIALNUMBER>60022480b1950809dd3c4209ff86cf06</SERIALNUMBER>

      <TYPE>disk</TYPE>

    </STORAGES>

    <STORAGES>

      <DISKSIZE>0000</DISKSIZE>

      <FIRMWARE>1.0</FIRMWARE>

      <MANUFACTURER>Msft</MANUFACTURER>

      <MODEL>Virtual DVD-ROM</MODEL>

      <NAME>sr0</NAME>

      <SERIALNUMBER>4d5346542020202000000000000000000000000000000000</SERIALNUMBER>

      <TYPE>cd</TYPE>

    </STORAGES>

    <USERS>

      <LOGIN>admin</LOGIN>

    </USERS>

  </CONTENT>

  <DEVICEID>vmskinventory1-2020-11-30-14-47-20</DEVICEID>

  <QUERY>INVENTORY</QUERY>

</REQUEST>

[Wed Dec 16 14:05:06 2020][debug] =BEGIN=SERVER RET======

[Wed Dec 16 14:05:06 2020][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>

<REPLY>

  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>

</REPLY>

';

[Wed Dec 16 14:05:06 2020][debug] =END=SERVER RET======

[Wed Dec 16 14:05:06 2020][debug] Calling handlers : `end_handler'

[Wed Dec 16 14:05:06 2020][debug] [snmp] Calling snmp_end_handler

[Wed Dec 16 14:05:06 2020][debug] [download] Calling download_end_handler

[Wed Dec 16 14:05:06 2020][info] [download] Beginning work. I am 63899.

[Wed Dec 16 14:05:06 2020][info] [download] Option turned off. Exiting.

[Wed Dec 16 14:05:06 2020][debug] [download] End of work...
by (260 points)
0 votes
All necessary perl modules are installed ? eg. perl-Net-IP, perl-Net-Netmask
by (84.3k points)
0 votes

sudo rpm -qa | grep perl | sort

i noticed that when you run ocsinventory-agent manually, the ip and mac address data appear.. once the cron job is completed, it disappears..

by (260 points)
edited by
 
Powered by Question2Answer
...