Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories MongoDB Shell
Created by Agustín Palazuelos
Created on Oct 22, 2026

Show shard availability from the connected mongos in sh.status()

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

Improve sharded cluster state/health visibility from mongosh

What would you like to see happen?

Describe the desired outcome or enhancement.

To be able to identify if a shard is down from mongosh, particularly sh.status() command.

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

This will improve the troubleshooting for sharded clsuter issues insted of needing to run several commands to get the same information or check the logs

What steps, if any, are you taking today to manage this problem?

running sh.status(), db.adminCommand({ connPoolStats: 1 }).replicaSets, and checking config server logs