MongoDB agent reports frequent changes in node role (mongoType) between mongod and configsvr.
mongod nodes.mongos can correctly identify node roles.Use a Single Agent:
mongos query router (e.g., mongos-host:27017). In your environment, it should be replaced with the actual hostname or IP address of a mongos query router in your MongoDB sharded cluster.Remove Redundant Agents:
Restart the Agent:
Verify Permissions: