Skip to content

Commit cad8cd3

Browse files
kamoltatshraddhaag
authored andcommitted
src/mgr/OSDMonitor.cc Add command ceph osd pool availability-status
``` ceph osd pool availability-status ``` outputs: `POOL` `UPTIME` `DOWNTIME` `NUMFAILURES` `MTBF` `MTTR` `SCORE` `AVAILABLE` Fixes: https://tracker.ceph.com/issues/67777 Signed-off-by: Kamoltat <[email protected]>
1 parent 06e22e7 commit cad8cd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mon/MonCommands.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,9 @@ COMMAND("osd pool stretch unset "
12431243
"name=min_size,type=CephInt,range=0 ",
12441244
"unset the stretch mode for the pool",
12451245
"osd", "rw")
1246+
COMMAND("osd pool availability-status", \
1247+
"obtain availability stats from all pools", \
1248+
"osd", "r")
12461249
COMMAND("osd utilization",
12471250
"get basic pg distribution stats",
12481251
"osd", "r")

0 commit comments

Comments
 (0)