@cryptotaxi247 / netdata-1 / commits / 8a095f41e

add "dmsetup status --target cache --noflush" to ndsudo (#17946)

Ilya Mashchenko committed Jun 18, 2024 at 13:19 UTC 8a095f41efd7db4696631deb41b825635c6f7c36
1 file changed +8
src/collectors/plugins.d/ndsudo.c
+8
@@ -13,6 +13,14 @@ struct command {
13 const char *params;
14 const char *search[MAX_SEARCH];
15 } allowed_commands[] = {
16 + {
17 + .name = "dmsetup-status-cache",
18 + .params = "status --target cache --noflush",
19 + .search = {
20 + [0] = "dmsetup",
21 + [1] = NULL,
22 + },
23 + },
24 {
25 .name = "ssacli-controllers-info",
26 .params = "ctrl all show config detail",