Connectivity between the FglAM host and the database host is the primary problem causing agent startup failure. Networking resources should be consulted prior to attempting to start data collection to ensure that the required port is opened to traffic.
For an agent pointing to a mongod server, this is the single database listening port, which is frequently the default value 27017. For an agent pointing to a mongos query server with cluster discovery enabled in the agent properties (the default), ports should be opened to each machine in the cluster, though a failure to connect to one or more of these will not prevent the agent from starting up so long as there is connectivity to the mongos being directly monitored.
If the user believes connectivity should be possible but the agent still fails to connect, an administrator should install the mongo shell on the FglAM machine and try to connect to the database. Failure here means that some network setting or connection parameter is incorrect. When connection succeeds through the mongo shell, and it has been verified that identical parameters have been entered into the agent properties, the agent connection will also succeed.