Mongodb_exporter gives replSetGetStatus errors

Good Morning,
I’m having some problems with mongodb_exporter
“cannot get replSetGetStatus: replSetGetStatus is not supported through mongos”

I can use “–disable.replicasetstatus” flag to avoid this error, but is there a permanent fix available for this?

Environment Details:

Can anyone assist me in this matter ?
Thanks

Hi, we are aware of this and it is being tracked in [PMM-5759] Implement replSetGetStatus collector - Percona JIRA you might want to subscribe and vote for the issue so it is prioritized.

1 Like

Thank you.

This jira is marked as done, however it is not solved yet. I am using Exporter - v0.20.5

Can you please help if I am missing any information here?

1 Like

I am sorry, I gave you the wrong link. Here’s the correct ticket [PMM-6877] `mongodb_exporter` doesn't recognize being on a mongos host and fills the syslog with replSetGetStatus errors - Percona JIRA

1 Like

Thank you for the update.

1 Like