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

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

OCSinventory Agent 2.0.5 obtains wrong IP Address details on CentOS 7.2

1. OS server and agent version:  OCSNG_UNIX_SERVER-2.0.5, Ocsinventory unified agent for UNIX, Linux and MacOSX (2.0.5)

2. Give agent logs in debug mode: (See below)

- Server side log entries of note (during test run: ):

----

[root@asdskwt ocsinventory-server]# tail -f activity.log | egrep "10.19.37.173"

Tue Apr 12 08:42:53 2016;55825;100;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;prolog;accepted

Tue Apr 12 08:42:53 2016;55825;315;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;session;already handled

Tue Apr 12 08:42:53 2016;55825;311;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;session;started

Tue Apr 12 08:42:56 2016;55976;319;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;session;found

Tue Apr 12 08:42:56 2016;55976;104;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;inventory;incoming

Tue Apr 12 08:42:56 2016;55976;110;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;inventory_cache;checking

Tue Apr 12 08:42:56 2016;55976;111;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;inventory_cache;already_handled

Tue Apr 12 08:42:56 2016;55976;320;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;session;end

Tue Apr 12 08:42:57 2016;55976;101;c7test-2016-04-11-11-23-57;10.19.37.173;OCS-NG_unified_unix_agent_v2.0.5;inventory;transmitted

----

- Agent side log entries of note: In the <NETWORKS> section of the debug log we the interface details reflected incorrectly:

----

 <NETWORKS>

      <DESCRIPTION>bmc</DESCRIPTION>

      <DRIVER></DRIVER>

      <IPADDRESS>0.0.0.0</IPADDRESS>

      <IPDHCP></IPDHCP>

      <IPGATEWAY>0.0.0.0</IPGATEWAY>

      <IPMASK>0.0.0.0</IPMASK>

      <IPSUBNET>0.0.0.0</IPSUBNET>

      <MACADDR>2c:41:38:87:e9:c1</MACADDR>

      <PCISLOT></PCISLOT>

      <STATUS>Down</STATUS>

      <TYPE>Ethernet</TYPE>

      <VIRTUALDEV></VIRTUALDEV>

    </NETWORKS>

----

Strangely enough, the mac of the primary NIC for the device is different:

---

[root@c7test ocsinventory-agent]# ifconfig| grep Ether

        ether 2c:41:38:87:ec:e1  txqueuelen 1000  (Ethernet)

----

- Agent logs too big to attache completely.
in OCS Inventory NG agent for Unix by (160 points)

1 Answer

0 votes
Please try the latest version of the agent.
by (22k points)
 
Powered by Question2Answer
...