You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a hidden node, I can see it as a member on member state graph. I'm running 3 instance of exporter for 3 mongo (1 master and 2 rs). While I can get the metrics from rs that is not hidden, can't get metric from hidden rs. Exporter trying to crawl metric from hidden rs prints an error like this:
level=error msg="Failed to get replSetGetConfig: (Unauthorized) command replSetGetConfig requires authentication." source="replset_conf.go:115
I've tried manually logging in to hidden rs with the same user and querying the same as code do:
db.runCommand( { replSetGetConfig: 1 } );
and it returned the data succesfully which makes us think it's not a authorization issue actually.
Any help is appreciated, thank y'all
The text was updated successfully, but these errors were encountered:
We have a hidden node, I can see it as a member on member state graph. I'm running 3 instance of exporter for 3 mongo (1 master and 2 rs). While I can get the metrics from rs that is not hidden, can't get metric from hidden rs. Exporter trying to crawl metric from hidden rs prints an error like this:
level=error msg="Failed to get replSetGetConfig: (Unauthorized) command replSetGetConfig requires authentication." source="replset_conf.go:115
I've tried manually logging in to hidden rs with the same user and querying the same as code do:
db.runCommand( { replSetGetConfig: 1 } );
and it returned the data succesfully which makes us think it's not a authorization issue actually.
Any help is appreciated, thank y'all
The text was updated successfully, but these errors were encountered: