title: Monitor MongoDB Replica Set members States using Datadog Agent
body: <p>How to monitor the state of MongoDB Replica Set members using Datadog agent?
  And by state I mean whether the node is Primary, Secondary, Arbiter.., and that in order to send an alert when the state changes.
  Thank you in advance.</p>