Hello,
I have a mongodb replica set with one master node and two slave nodes. I want to install mongodb exoprter to collect mongodb indicators and configure it to send data to existing Prometheus. Do I only need to install mongodb exoprter on the master node of mongodb? Or do I need to install mongodb exoprter on every node?
Currently I only have mongodb exopter installed on the master node, but I can’t get information on the two slave nodes
Hi Liu,
Please install the exporter on each node.
Thank you !!
That is to say, I should deploy Mongodb_exporter on all three nodes, and in this way, the MongoDB_ReplSet_Summary and MongoDB_Instances_Overview dashboards can display information about the three nodes?
https://github.com/percona/grafana-dashboards/blob/main/dashboards/MongoDB_ReplSet_Summary.json
https://github.com/percona/grafana-dashboards/blob/main/dashboards/MongoDB_Instances_Overview.json
If dashboards would be used without a PMM please convert them by the next script.
The script is replacing PMM2 labels by default Prometheus labels. So no additional labels are required.
It’s a part of PMM2. So please just remove this element from the dashboard.
Okay, thank you so much. I have completed the deployment of mongoDB exporter and mongoDB dashboard, thank you for your guidance




