Skip to content

Commit

Permalink
feat: add ceph df to ceph collector (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavpaice authored Oct 9, 2023
1 parent e3adc1c commit cc56522
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/collect/ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ var CephCommands = []CephCommand{
Format: "txt",
DefaultTimeout: "30s",
},
{
ID: "df", // the disk usage of each pool
Command: []string{"ceph", "df"},
Args: []string{"-f", "json-pretty"},
Format: "json",
DefaultTimeout: "30s",
},
{
ID: "osd-df",
Command: []string{"ceph", "osd", "df"},
Expand Down

0 comments on commit cc56522

Please sign in to comment.