Revert "Add ceph commands to ndsudo" (#18620)
Revert "Add ceph commands to ndsudo (#18583)" This reverts commit afefbe7d5982218e659597e2854043c03ec24477.
Ilya Mashchenko committed
Sep 26, 2024 at 21:54 UTC
968f6bd572729c7728a55a7245a6db28643d2de4
1 file changed
-36
src/collectors/plugins.d/ndsudo.c
-36
@@ -13,42 +13,6 @@ struct command {
13
const char *params;
14
const char *search[MAX_SEARCH];
15
} allowed_commands[] = {
16
- {
17
- .name = "ceph-osd-perf",
18
- .params = "osd perf --format json ",
19
- .search =
20
- {
21
- [0] = "ceph",
22
- [1] = NULL,
23
- },
24
- },
25
- {
26
- .name = "ceph-osd-df",
27
- .params = "osd df --format json ",
28
- .search =
29
- {
30
- [0] = "ceph",
31
- [1] = NULL,
32
- },
33
- },
34
- {
35
- .name = "ceph-osd-pool-stats",
36
- .params = "osd pool stats --format json ",
37
- .search =
38
- {
39
- [0] = "ceph",
40
- [1] = NULL,
41
- },
42
- },
43
- {
44
- .name = "ceph-df",
45
- .params = "df --format json",
46
- .search =
47
- {
48
- [0] = "ceph",
49
- [1] = NULL,
50
- },
51
- },
16
{
17
.name = "varnishadm-backend-list",
18
.params = "backend.list",