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.

CPU, Memory, BIOS and HDD empty, OCS agent Solaris11.3

8 Answers

0 votes
Hi,

Which version of the agent do you use?

Regards

Frank
by (88.5k points)
0 votes

Hi,

Version: OCS-NG_unified_unix_agent_v2.3

Thanks....

by (340 points)
0 votes
Hi,

Is this solved with the installation of the missing module (libwww-perl)?

Regards

Frank
by (88.5k points)
0 votes
Hi,

no, this is a new problem in the installation of the 
agent on Solaris OS.

Regards.....
by (340 points)
0 votes
Hi,

Could you please post the content of ocsinventory-agent.log file?

Regards

Frank
by (88.5k points)
0 votes
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Accountinfo file: /var/opt/ocsinventory-agent/http:__172.21.129.28_ocsinventory/ocsinv.adm
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[debug] Calling handlers : `start_handler'
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>ldom-pracso-2017-11-17-11-44-16</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <OPTION>
    <NAME>IPDISCOVER</NAME>
    <PARAM IPDISC_LAT="100">172.21.22.0</PARAM>
  </OPTION>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="0" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />
  </OPTION>
  <RESPONSE>SEND</RESPONSE>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] PROLOG_FREQ has not changed since last process
[debug] Calling handlers : `prolog_reader'
[debug] Ocsinventory::Agent::Backend::IpDiscover::IpDiscover ignored
[debug]  - nmap found
[debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap ignored
[debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Dmidecode ignored
[debug]  - Sys::Hostname loaded
[debug]  - ipmitool found
[debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Lspci ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Lsusb ignored
[debug]  - pkg found
[debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[debug] Ocsinventory::Agent::Backend::OS::Generic::Screen ignored
[debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[debug] Ocsinventory::Agent::Backend::OS::Linux ignored
[debug] Ocsinventory::Agent::Backend::OS::MacOS ignored
[debug] Ocsinventory::Agent::Backend::OS::Solaris::Bios ignored
[debug] memconf not found in $PATH
[debug] Ocsinventory::Agent::Backend::OS::Solaris::CPU ignored
[debug]  - cfgadm found
[debug]  - domainname found
[debug] runWithTimeout(): unexpected error: Undefined subroutine &Ocsinventory::Agent::Backend::OS::Solaris::Drives::can_run called at /usr/perl5/site_perl/5.12/Ocsinventory/Agent/Backend/OS/Solaris/Drives.pm line 12.
[debug] Ocsinventory::Agent::Backend::OS::Solaris::Drives ignored
[debug]  - ifconfig found
[debug]  - swap found
[debug]  - prtconf found
[debug] Ocsinventory::Agent::Backend::OS::Solaris::Memory ignored
[debug]  - ifconfig found
[debug]  - netstat found
[debug]  - Net::IP qw(:PROC) loaded
[debug]  - pkginfo found
[debug]  - prtdiag found
[debug]  - iostat found
[debug]  - who found
[debug] Ocsinventory::Agent::Backend::Virtualization::Docker ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Jails ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[debug]  - zoneadm found
[debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
Unsuccessful stat on filename containing newline at /usr/perl5/site_perl/5.12/Ocsinventory/Agent/Common.pm line 1071, <SOLVERSION> line 3.
[debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[debug]  - zoneadm found
[debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored
[debug] Running Ocsinventory::Agent::Backend::AccessLog
[debug] Running Ocsinventory::Agent::Backend::DeviceID
[debug] Running Ocsinventory::Agent::Backend::IpDiscover
[debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[debug] Running Ocsinventory::Agent::Backend::OS::Generic
[debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[debug]  - Sys::Hostname loaded
[debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg
[debug]  - pkg found
[debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Controllers
cfgadm: Configuration administration not supported
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Domains
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::IPv4
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Mem
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Networks
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Packages
closedir() attempted on invalid dirhandle DIR at /usr/perl5/site_perl/5.12/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm line 64.
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Slots
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Storages
[debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Users
[debug] USERID shouldn't be set directly anymore. Please use addCPU() method instead.
[debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[debug] Calling handlers : `inventory_handler'
[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
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
by (340 points)
0 votes
Hi,

memconf command is reported as missing. Install it and be sure that the path is correct for accessing memconf.

Regards

Frank
by (88.5k points)
0 votes
I installed memconf, but it does not take inventory.

memconf:  V3.14 16-Nov-2017 http://sourceforge.net/projects/memconf/
Gathering data for memconf. This may take over a minute. Please wait...
hostname: *********
Oracle Corporation SPARC T5-2 (SPARC-T5 3600MHz)
ERROR: Guest Logical Domain (LDOM) detected.
    Run memconf on the control LDOM host "*********".
    It cannot show system memory details on guest LDOMs.

by (340 points)
 
Powered by Question2Answer
...