Steps to reproduce:
- Navigate to Configuration->Templates.
- Create Discovery rule with Host prototype having "Host inventory" = Disabled.
- Open table "host_inventory" in any SQL editor and find inventory data of new host prototype by hostid.
Record is present in DB, "inventory_mode" has value "-1".
Record is not present in DB.