In my case, I can see vmware empty tables created in ocsweb database, but no data.
I run ocsinventory-agent 2.4.0.1 from the ocs server, but fails with "Can't encode a value of type: JSON::PP::Boolean at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/XML/Inventory.pm line 108", so the inventory is not sent. But I can see vmware data in /var/log/ocsinventory-agent/ocsinventory-agent.log. I have ocs in CentOS 7. I updated the agent to 2.6.0.1 but same problem.