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.

None data transmitted to OCS Inventory server


This is about the plugin "runningProcess" (https://github.com/PluginsOCSInventory-NG/runningProcess/)

I'm using OCS Inventory server 2.6 on an Ubuntu 19.04 and OCS Inventory agent UNIX, Linux & MacOs 2.4.2 on an Ubuntu 18.04. This is new fresh install to test the solution.

I have installed this extension "runningProcess" successfully on both side. When I run the agent, I have the following logs:


[Thu Oct 31 16:47:15 2019][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2

[Thu Oct 31 16:47:15 2019][debug] Log system initialised (File)

[Thu Oct 31 16:47:15 2019][debug] --scan-homedirs missing. Don't scan user directories

[Thu Oct 31 16:47:15 2019][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__ocs.local.com_ocsinventory/ocsinv.adm

[Thu Oct 31 16:47:15 2019][debug] OCS Agent initialised

[Thu Oct 31 16:47:15 2019][debug] Turns hooks on for /etc/ocsinventory/modules.conf


[Thu Oct 31 16:47:20 2019][debug] Calling handlers : `inventory_handler'

[Thu Oct 31 16:47:20 2019][debug] [download] Calling download_inventory_handler

[Thu Oct 31 16:47:20 2019][debug] [processes] Yeah you are in Processes_inventory_handler:)

[Thu Oct 31 16:47:20 2019][debug] [uptime] Yeah you are in uptime_inventory_handler :)

[Thu Oct 31 16:47:20 2019][debug] Section DRIVES has changed since last inventory



      <COMMANDLINE>/sbin/init splash</COMMANDLINE>




      <STARTED>2019-10-30 1:41</STARTED>










      <STARTED>2019-10-30 0:00</STARTED>







[Thu Oct 31 16:47:21 2019][debug] =BEGIN=SERVER RET======

[Thu Oct 31 16:47:21 2019][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>





[Thu Oct 31 16:47:21 2019][debug] =END=SERVER RET======

[Thu Oct 31 16:47:21 2019][debug] Calling handlers : `end_handler'

[Thu Oct 31 16:47:21 2019][debug] [download] Calling download_end_handler

[Thu Oct 31 16:47:21 2019][debug] [snmp] Calling snmp_end_handler

[Thu Oct 31 16:47:21 2019][info] [download] Beginning work. I am 28251.

[Thu Oct 31 16:47:21 2019][info] [download] Option turned off. Exiting.

[Thu Oct 31 16:47:21 2019][debug] [download] End of work...


Regarding the logs, the plugin seems to work as there are the XML data. But on server side, there is nothing in database and logs shows:


Thu Oct 31 15:47:21 2019;18582;318;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;session;missing

Thu Oct 31 15:47:21 2019;18582;114;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;no_session

Thu Oct 31 15:47:21 2019;18582;104;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;incoming

Thu Oct 31 15:47:21 2019;18582;113;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;u:drives

Thu Oct 31 15:47:21 2019;18582;113;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;u:cpus

Thu Oct 31 15:47:21 2019;18582;113;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;u:uptime

Thu Oct 31 15:47:21 2019;18582;113;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;u:repository

Thu Oct 31 15:47:21 2019;18582;101;PC-Jerome-2019-10-30-11-08-58;;OCS-NG_unified_unix_agent_v2.4.2;inventory;transmitted


There is no trace of the plugin. I have none problem with uptime extension. What is going wrong?
in OCS Inventory NG server for Unix by (120 points)
edited by

Please log in or register to answer this question.

Powered by Question2Answer