File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,18 @@ var CephCommands = []CephCommand{
7575 Format : "json" ,
7676 },
7777 {
78- ID : "rgw-stats" ,
78+ ID : "rgw-stats" , // the disk usage (and other stats) of each object store bucket
7979 Command : []string {"radosgw-admin" , "bucket" , "stats" },
8080 Args : []string {"--rgw-cache-enabled=false" },
81- Format : "json " ,
81+ Format : "txt " ,
8282 DefaultTimeout : "30s" , // include a default timeout because this command will hang if the RGW daemon isn't running/is unhealthy
8383 },
84+ {
85+ ID : "rbd-du" , // the disk usage of each PVC
86+ Command : []string {"rbd" , "du" },
87+ Args : []string {"--pool=replicapool" },
88+ Format : "txt" ,
89+ },
8490}
8591
8692func Ceph (c * Collector , cephCollector * troubleshootv1beta2.Ceph ) (map [string ][]byte , error ) {
You can’t perform that action at this time.
0 commit comments