We should report an agent's reason for being in the status it's in to Fleet Server rather than only relying on Agent logs. This will make it easier to debug why an agent is in a particular status.
Related changes need to be made to Fleet Server to save this state in the .fleet-agents index.