diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-06-18 13:19:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 13:19:08 +0300 |
commit | 8a095f41efd7db4696631deb41b825635c6f7c36 (patch) | |
tree | b72d5eeacf301bef04172ae70fce91d596816eff /src | |
parent | 14b79967b3a63a3f6aacc1d42142c8c4abb78883 (diff) |
add "dmsetup status --target cache --noflush" to ndsudo (#17946)
Diffstat (limited to 'src')
-rw-r--r-- | src/collectors/plugins.d/ndsudo.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/collectors/plugins.d/ndsudo.c b/src/collectors/plugins.d/ndsudo.c index 4e6c9e2ad3..8b4d76f460 100644 --- a/src/collectors/plugins.d/ndsudo.c +++ b/src/collectors/plugins.d/ndsudo.c @@ -14,6 +14,14 @@ struct command { const char *search[MAX_SEARCH]; } allowed_commands[] = { { + .name = "dmsetup-status-cache", + .params = "status --target cache --noflush", + .search = { + [0] = "dmsetup", + [1] = NULL, + }, + }, + { .name = "ssacli-controllers-info", .params = "ctrl all show config detail", .search = { |