Skip to content

Commit cc56522

Browse files
authored
feat: add ceph df to ceph collector (#1358)
1 parent e3adc1c commit cc56522

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/collect/ceph.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ var CephCommands = []CephCommand{
9898
Format: "txt",
9999
DefaultTimeout: "30s",
100100
},
101+
{
102+
ID: "df", // the disk usage of each pool
103+
Command: []string{"ceph", "df"},
104+
Args: []string{"-f", "json-pretty"},
105+
Format: "json",
106+
DefaultTimeout: "30s",
107+
},
101108
{
102109
ID: "osd-df",
103110
Command: []string{"ceph", "osd", "df"},

0 commit comments

Comments
 (0)