From 6f29b6f118ef57f8062341ad3b78fdf7f1013a75 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Sun, 24 Apr 2016 05:35:01 +0200 Subject: [PATCH] Added testparam for fail2ban --- fail2ban/control.zaf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fail2ban/control.zaf b/fail2ban/control.zaf index 73ec338..eef64c5 100644 --- a/fail2ban/control.zaf +++ b/fail2ban/control.zaf @@ -9,7 +9,7 @@ Description:: :: # Version of the plugin. -Version: 0.3 +Version: 0.4 # Url of plugin location to be able to update plugin Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/fail2ban @@ -52,6 +52,7 @@ Item jail_discovery: Description:: Returns discovered jails :: +Testparameters: yes Script: sudo fail2ban-client status | grep "Jail list" |grep -E -o "([-[:alnum:]]*, )*[-[:alnum:]]*$" | zaf_discovery '{#F2BJAIL}' /Item