1 (edited by mke 2009-11-25 14:13:29)

Topic: ocsinventory-agent

Hi Remi,

i've updated my server with the new agent.

but now my reports give me "Linux" as OS back

Server CentOS 5.4 x86_64

Re: ocsinventory-agent

With ocsinventory-agent-1.1 ?

This is strange, the OS name is taken from /etc/redhat-release file...

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

Yes, with v 1.1

It looks like it can't run anything.

I've seen this issue on multiple machines in our network.

for test i run:

ocsinventory-agent --stdout --debug
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <CONTENT>
    <ACCESSLOG>
      <LOGDATE>2009-11-25 16:05:19</LOGDATE>
      <USERID>N/A</USERID>
    </ACCESSLOG>
    <BIOS>
    </BIOS>
    <CPUS>
      <MANUFACTURER>AMD</MANUFACTURER>
      <SERIAL></SERIAL>
      <SPEED>2191</SPEED>
      <TYPE>AMD Opteron(tm) Processor 248</TYPE>
    </CPUS>
    <HARDWARE>
      <ARCHNAME>x86_64-linux-thread-multi</ARCHNAME>
      <CHECKSUM>262143</CHECKSUM>
      <DATELASTLOGGEDUSER>Wed Nov 25 16:04</DATELASTLOGGEDUSER>
      <DESCRIPTION>x86_64/00-00-14 02:28:32</DESCRIPTION>
      <ETIME>0</ETIME>
      <LASTLOGGEDUSER>root</LASTLOGGEDUSER>
      <MEMORY>2011</MEMORY>
      <NAME>matrix-1</NAME>
      <OSCOMMENTS>Unknow Linux distribution</OSCOMMENTS>
      <OSNAME>Linux</OSNAME>
      <OSVERSION>2.6.18-164.6.1.el5</OSVERSION>
      <PROCESSORN>1</PROCESSORN>
      <PROCESSORS>2191</PROCESSORS>
      <PROCESSORT>AMD Opteron(tm) Processor 248</PROCESSORT>
      <SWAP>3999</SWAP>
      <USERID>root</USERID>
    </HARDWARE>
    <NETWORKS>
    </NETWORKS>
    <STORAGES>
      <DESCRIPTION>IDE</DESCRIPTION>
      <DISKSIZE></DISKSIZE>
      <FIRMWARE></FIRMWARE>
      <MANUFACTURER></MANUFACTURER>
      <MODEL></MODEL>
      <NAME></NAME>
      <SCSI_CHID></SCSI_CHID>
      <SCSI_COID></SCSI_COID>
      <SCSI_LUN></SCSI_LUN>
      <SCSI_UNID></SCSI_UNID>
      <SERIALNUMBER></SERIALNUMBER>
      <TYPE>cd</TYPE>
    </STORAGES>
    <STORAGES>
      <DESCRIPTION>IDE</DESCRIPTION>
      <DISKSIZE>68348</DISKSIZE>
      <FIRMWARE></FIRMWARE>
      <MANUFACTURER>3ware</MANUFACTURER>
      <MODEL></MODEL>
      <NAME></NAME>
      <SCSI_CHID></SCSI_CHID>
      <SCSI_COID></SCSI_COID>
      <SCSI_LUN></SCSI_LUN>
      <SCSI_UNID></SCSI_UNID>
      <SERIALNUMBER></SERIALNUMBER>
      <TYPE>disk</TYPE>
    </STORAGES>
    <STORAGES>
      <DESCRIPTION>IDE</DESCRIPTION>
      <DISKSIZE>976551</DISKSIZE>
      <FIRMWARE></FIRMWARE>
      <MANUFACTURER>3ware</MANUFACTURER>
      <MODEL></MODEL>
      <NAME></NAME>
      <SCSI_CHID></SCSI_CHID>
      <SCSI_COID></SCSI_COID>
      <SCSI_LUN></SCSI_LUN>
      <SCSI_UNID>1</SCSI_UNID>
      <SERIALNUMBER></SERIALNUMBER>
      <TYPE>disk</TYPE>
    </STORAGES>
    <USERS>
      <LOGIN>root</LOGIN>
    </USERS>
  </CONTENT>
  <DEVICEID>matrix-1-2009-11-25-15-01-39</DEVICEID>
  <QUERY>INVENTORY</QUERY>
</REQUEST>

log file:

cat /var/log/ocsinventory-agent/ocsinventory-agent.log
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 1.1
[Wed Nov 25 16:05:18 2009][debug] Log system initialised (File)
[Wed Nov 25 16:05:18 2009][debug] --scan-homedirs missing. Don't scan user directories
[Wed Nov 25 16:05:18 2009][debug] Accountinfo file: /var/lib/ocsinventory-agent/217.26.116.174/ocsinv.adm
[Wed Nov 25 16:05:18 2009][debug] Turns CompatibilityLayer on for /etc/ocsinventory/modules.conf
[Wed Nov 25 16:05:18 2009][debug] OCS Agent initialised
[Wed Nov 25 16:05:18 2009][debug] Calling handlers : `start_handler'
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::IpDiscover ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Dmidecode ignored
[Wed Nov 25 16:05:18 2009][debug]  - Sys::Hostname loaded
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Lspci ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Processes ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Screen ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::ARM ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::Alpha ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::MIPS ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::PowerPC ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::SPARC ignored
[Wed Nov 25 16:05:18 2009][debug]  - /proc/cpuinfo can be read
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::m68k ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::LSB ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::ArchLinux ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Debian ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Fedora ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Gentoo ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Knoppix ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandrake ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandriva ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Redhat ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Slackware ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::SuSE ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Trustix ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Ubuntu ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::VmWare ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Domains ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Drives ignored
[Wed Nov 25 16:05:18 2009][debug]  - /proc/meminfo can be read
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Network::IPv4 ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Network::Networks ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Sounds ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::HP ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Lsilogic ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::ServeRaid ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Sys ignored
[Wed Nov 25 16:05:18 2009][debug]  - /proc/uptime can be read
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::OS::Solaris ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Wed Nov 25 16:05:18 2009][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Vmsystem ignored
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Wed Nov 25 16:05:19 2009][debug]  - Sys::Hostname loaded
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging has no run() function -> ignored
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::i386 has no run() function -> ignored
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB has no run() function -> ignored
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Mem
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Storages
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Uptime
[Wed Nov 25 16:05:19 2009][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Wed Nov 25 16:05:19 2009][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Wed Nov 25 16:05:19 2009][debug] last_state file: `/var/lib/ocsinventory-agent/217.26.116.174/last_state' doesn't exist (yet).
[Wed Nov 25 16:05:19 2009][debug] Section INPUT has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section BIOS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section PRINTERS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section VIDEOS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section HARDWARE has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section SOUNDS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section SOFTWARES has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section MEMORIES has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section CONTROLLERS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section VIRTUALMACHINES has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section STORAGES has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section NETWORKS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section MODEMS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section MONITORS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section DRIVES has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section PORTS has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section REGISTRY has changed since last inventory
[Wed Nov 25 16:05:19 2009][debug] Section SLOTS has changed since last inventory
[Wed Nov 25 16:05:19 2009][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 Nov 25 16:05:19 2009][debug] Calling handlers : `end_handler'
[Wed Nov 25 16:05:19 2009][debug]  run func: `Ocsinventory::Agent::Option::Download::download_end_handler'

Re: ocsinventory-agent

Do you run inventory as "root" ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

Yes i do.

Re: ocsinventory-agent

Really ?

Please, try

# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If you have not sbin int your path : You are not "root" lol
A common mistake is to use "su" (which keep the user's environment) instead of "su -" (which switch to root environement)

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

Remi,

[root@matrix-1 ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

I'm sure I'm root.

Re: ocsinventory-agent

Can you please

lsb_release -d
uname -a
ll /etc/*release
cat /etc/redhat-release
which dmidecode
dmidecode --version
rpm --version
rpm -qa perl\*

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

I Found the problem!

which was not installed, now it's working! :-)

10 (edited by jasonlove521 2013-05-23 05:46:01)

Re: ocsinventory-agent

hi,my problem like yours,the agent with v2.0.5,please help me

log:


"/var/log/ocsinventory-agent.log" 306L, 26604C
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Thu May 23 12:46:06 2013][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Thu May 23 12:46:06 2013][debug] Calling handlers : `inventory_handler'
[Thu May 23 12:46:06 2013][debug] Section INPUT has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section BIOS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section PRINTERS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section VIDEOS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section HARDWARE has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SOUNDS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SOFTWARES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MEMORIES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section CONTROLLERS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section VIRTUALMACHINES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section STORAGES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section NETWORKS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MODEMS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MONITORS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section DRIVES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section PORTS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section REGISTRY has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SLOTS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Missing value(s): SSN . I will send this inventory to the server BUT important value(s) to identify the computer are missing
[Thu May 23 12:46:07 2013][info] Inventory saved in /var/lib/ocsinventory-agent/lvs-tmp-2013-05-23-12-20-18.ocs
[Thu May 23 12:46:07 2013][debug] Calling handlers : `end_handler'
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Controllers
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Modems
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Sounds
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Videos
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Thu May 23 12:46:04 2013][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging has no run() function -> ignored
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Thu May 23 12:46:04 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Processes
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Screen
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386
[Thu May 23 12:46:06 2013][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::i386 has no run() function -> ignored
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Distro::LSB
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Domains
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Drives
[Thu May 23 12:46:06 2013][debug]  - lshal found
[Thu May 23 12:46:06 2013][debug]  - dumpe2fs found
[Thu May 23 12:46:06 2013][debug]  - dumpe2fs found
[Thu May 23 12:46:06 2013][debug]  - lshal found
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Mem
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::IPv4
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Network::Networks
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sounds
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Storages
[Thu May 23 12:46:06 2013][debug]  - lshal found
[Thu May 23 12:46:06 2013][debug]  - hdparm found
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Sys
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::OS::Linux::Uptime
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Thu May 23 12:46:06 2013][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Thu May 23 12:46:06 2013][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Thu May 23 12:46:06 2013][debug] Calling handlers : `inventory_handler'
[Thu May 23 12:46:06 2013][debug] Section INPUT has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section BIOS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section PRINTERS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section VIDEOS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section HARDWARE has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SOUNDS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SOFTWARES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MEMORIES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section CONTROLLERS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section VIRTUALMACHINES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section STORAGES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section NETWORKS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MODEMS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section MONITORS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section DRIVES has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section PORTS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section REGISTRY has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Section SLOTS has changed since last inventory
[Thu May 23 12:46:06 2013][debug] Missing value(s): SSN . I will send this inventory to the server BUT important value(s) to identify the computer are missing
[Thu May 23 12:46:07 2013][info] Inventory saved in /var/lib/ocsinventory-agent/lvs-tmp-2013-05-23-12-20-18.ocs
[Thu May 23 12:46:07 2013][debug] Calling handlers : `end_handler'   

Re: ocsinventory-agent

Is dmidecode installed ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

y,dmidecode installed.
I Found the problem!
in the "/etc/ocsinventory/ocsinventory-agent.cfg"
#local = /var/lib/ocsinventory-agent
is enable.
--server   missing. so

thank you

Re: ocsinventory-agent

NO

You don't have to edit /etc/ocsinventory/ocsinventory-agent.cfg
See the comment on the top on this file !

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ocsinventory-agent

Hi,

i had the same problem on Centos 6 reporting unkonwn os.
on my systems lsb_release was missing.
After installing redhat-lsb-core everything worked fine.

Re: ocsinventory-agent

It think there is a bug in Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/CentOS.pm

So, lsb_release is only a workaround. Should work without.
Reported to OCS dev.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi