Added testparam for fail2ban

1.3
Lukas Macura 2016-04-24 05:35:01 +02:00
parent 497a124d8a
commit 6f29b6f118
1 changed files with 2 additions and 1 deletions

View File

@ -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