When you receive an error in the runkbot log similar to below, follow the instructions at the end of the error.
I did plenty of searching and didn't find anything so I hope this
will help those who need it in the future.
KInventory Begin capturing Inventory...
KInventory Error: InventoryData AddItem : sqlite3_connection: SQL logic error or missing database
KInventory Error: InventoryData PostProcess : sqlite3_connection: SQL logic error or missing database
KInventory Error: InventoryData GetSession : sqlite3_connection: SQL logic error or missing database
KInventory An error was detected in the WMI repository that resulted in missing data for some of the sections.
To repair the WMI repository, you will need to manually run the tool with the -autorepair flag
The Kinventory.db file is corrupted;
to fix you only need to delete it (its located in the same directory you got the runkbot log from)
then do a Kinventory.exe via command line and that should fix it.
If it doesn't fix , then stop the Kace agent service
delete the Kinventory.db file
restart the service
then do a Kinventory.exe -autorepair
-courtesy of Dell Kace Support (Mark G.)