dad.collector.connect.timeout
This configuration parameter specifies the amount of time, in seconds, the agent waits during each connection attempt before it determines that it cannot connect to a collector.
The default value for this parameter is 60 seconds.
You can use this parameter with the agent.max.missed.update.tolerance parameter which allows you to specify the number of unsuccessful attempts that the agent can make to connect to a collector before notifying the user that it is not connected to a collector.