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