If you need to update your legacy Agents to the MongoDB Agent, follow one of these scenarios to make the transition.
Back
Install the MongoDB Agent to Only Monitor or Backup Deployments
Next
Update from all legacy Agents