In my case, I can see vmware empty tables created in ocsweb database, but no data.
I run ocsinventory-agent 188.8.131.52 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 184.108.40.206 but same problem.