How can I get a dump of inventory information from an agent running on another machine?
The use-case here is that someone (call him “the customer”) is running an agent in their environment and is having problems. You suspect the customer’s agent inventory is corrupted somehow. As a developer, you would like to know exactly what the agent thinks is in its inventory so you can debug the problem. To get this information, you must get the customer’s agent “data/inventory.dat” file. Copy that file to your local machine (it doesn’t matter what directory you put it in). Now, run your own agent on your own local machine – make sure you run that agent with the same plugins that the customer was running with. The agent doesn’t necessarily have to be connected to a server, but the plugin container must be started (that means the agent has to have been registered).