ndsudo add storcli (#17455)
Ilya Mashchenko committed
Apr 19, 2024 at 15:03 UTC
079f1e312fded06956f8aa05385ba7b20d1a610d
1 file changed
+16
src/collectors/plugins.d/ndsudo.c
+16
@@ -13,6 +13,22 @@ struct command {
13
const char *params;
14
const char *search[MAX_SEARCH];
15
} allowed_commands[] = {
16
+ {
17
+ .name = "storcli-controllers-info",
18
+ .params = "/cALL show all J nolog",
19
+ .search = {
20
+ [0] = "storcli",
21
+ [1] = NULL,
22
+ },
23
+ },
24
+ {
25
+ .name = "storcli-drives-info",
26
+ .params = "/cALL/eALL/sALL show all J nolog",
27
+ .search = {
28
+ [0] = "storcli",
29
+ [1] = NULL,
30
+ },
31
+ },
32
{
33
.name = "lvs-report-json",
34
.params = "--reportformat json --units b --nosuffix -o {{options}}",