summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/collectors/plugins.d/ndsudo.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/collectors/plugins.d/ndsudo.c b/src/collectors/plugins.d/ndsudo.c
index aeb2865252..d03ec937b3 100644
--- a/src/collectors/plugins.d/ndsudo.c
+++ b/src/collectors/plugins.d/ndsudo.c
@@ -14,6 +14,22 @@ struct command {
const char *search[MAX_SEARCH];
} allowed_commands[] = {
{
+ .name = "fail2ban-client-status",
+ .params = "status",
+ .search = {
+ [0] = "fail2ban-client",
+ [1] = NULL,
+ },
+ },
+ {
+ .name = "fail2ban-client-status-jail",
+ .params = "status {{jail}}",
+ .search = {
+ [0] = "fail2ban-client",
+ [1] = NULL,
+ },
+ },
+ {
.name = "storcli-controllers-info",
.params = "/cALL show all J nolog",
.search = {