1
0
mirror of https://github.com/limosek/zaf-plugins.git synced 2025-01-21 07:25:56 +01:00

Added testparam for fail2ban

This commit is contained in:
Lukas Macura 2016-04-24 05:35:01 +02:00
parent 497a124d8a
commit 6f29b6f118

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