The Foglight Management Server (FMS) management log shows a series of messages of "unregister" and "register" agents. When this happens, data collection is OK, but it will seem to the user like the agents are broken on the agent status dashboard.
The messages show that there are two Foglight Agent Managers (FglAMs) using the same ID when reporting to the FMS. The FMS cannot distinguish between them and will try to process the information. However, the requirement is for a unique ID for the FglAM in order to process the information successfully.
This is most likely a result of VM cloning. The machine on host "A" was cloned and the FglAM on that machine was cloned along with it, therefore resulting in the same ID.
The FMS is switching between the two states as it is "confused" due to the two FglAM hosts having the same FglAM IDs (possibly due to cloning if it's a Virtual Machine).
As there is no requirement to have two FglAM instances, it is recommended that one of the FglAM hosts has it's FglAM process stopped, or is deleted. This should stop the messages appearing in the log files and should show the correct state for the agents.