Configure OSHI Data Collection on Windows

You can use the following two system properties to configure how the operating system and hardware information (OSHI) data is collected and sent to Controller.

System PropertyDefaultPossible Values

-Dappdynamics.machine.agent.oshiCollectionTimeout.in.ms

10000Integer value

-Dappdynamics.machine.agent.should.drop.complete.process.data.when.timeout

false true/false

Example 1:

-Dappdynamics.machine.agent.oshiCollectionTimeout.in.ms=1000
-Dappdynamics.machine.agent.should.drop.complete.process.data.when.timeout=false

In this case, if the OSHI data collection process takes more than 10000 milliseconds, then the agent sends the OSHI data collected within 10000 milliseconds.

Example 2:

-Dappdynamics.machine.agent.oshiCollectionTimeout.in.ms=1000
-Dappdynamics.machine.agent.should.drop.complete.process.data.when.timeout=true

In this case, if the OSHI data collection process takes more than 10000 milliseconds, then the agent does not send any data to Collector.

Note: If the OSHI data collection process completes within 10000 milliseconds, the data is sent to Controller and the -Dappdynamics.machine.agent.should.drop.complete.process.data.when.timeout system property is ignored.