# Is there a way to use netdata for monitoring mongodb replicaset's status(PRIMARY,SECONDARY,ARBITER)?

**URL:** <https://community.netdata.cloud/t/is-there-a-way-to-use-netdata-for-monitoring-mongodb-replicasets-status-primary-secondary-arbiter/4323>\
**Category:** Help\
**Tags:** configuration, agent\
**Created:** [June 22, 2023, 6:24am UTC](https://community.netdata.cloud/t/is-there-a-way-to-use-netdata-for-monitoring-mongodb-replicasets-status-primary-secondary-arbiter/4323 "2023-06-22T06:24:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![driggsss](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/driggsss/32/1620_2.png) [@driggsss](https://community.netdata.cloud/u/driggsss)\
**Post date:** [June 22, 2023, 6:24am UTC](https://community.netdata.cloud/t/is-there-a-way-to-use-netdata-for-monitoring-mongodb-replicasets-status-primary-secondary-arbiter/4323/1 "2023-06-22T06:24:41Z")

</div>

I just want to be notified if there are changes in my replicaset like if the PRIMARY went down then the replica set failed over to SECONDARY.

---

<div class="post-metadata">

**Author:** ![sashwathn](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/sashwathn/32/2886_2.png) [@sashwathn](https://community.netdata.cloud/u/sashwathn)\
**Post date:** [June 22, 2023, 1:17pm UTC](https://community.netdata.cloud/t/is-there-a-way-to-use-netdata-for-monitoring-mongodb-replicasets-status-primary-secondary-arbiter/4323/2 "2023-06-22T13:17:58Z")

</div>

Hi @driggsss ,

Yes, we do collect metrics for monitoring replica sets and you can read more here:  
[MongoDB collector | Learn Netdata](https://learn.netdata.cloud/docs/data-collection/database-servers/mongodb).

---

<div class="post-metadata">

**Author:** ![driggsss](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/driggsss/32/1620_2.png) [@driggsss](https://community.netdata.cloud/u/driggsss)\
**Post date:** [August 2, 2023, 6:25am UTC](https://community.netdata.cloud/t/is-there-a-way-to-use-netdata-for-monitoring-mongodb-replicasets-status-primary-secondary-arbiter/4323/3 "2023-08-02T06:25:30Z")

</div>

Is there any guide for just monitoring the replicaset if there are changes? (e.g. ReplicaSet failed over to Second node, Secondary Node is down, etc.)
