mirror of
https://github.com/limosek/zaf-plugins.git
synced 2025-01-21 23:45:56 +01:00
Added testparam for fail2ban
This commit is contained in:
parent
497a124d8a
commit
6f29b6f118
@ -9,7 +9,7 @@ Description::
|
|||||||
::
|
::
|
||||||
|
|
||||||
# Version of the plugin.
|
# Version of the plugin.
|
||||||
Version: 0.3
|
Version: 0.4
|
||||||
|
|
||||||
# Url of plugin location to be able to update plugin
|
# Url of plugin location to be able to update plugin
|
||||||
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/fail2ban
|
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/fail2ban
|
||||||
@ -52,6 +52,7 @@ Item jail_discovery:
|
|||||||
Description::
|
Description::
|
||||||
Returns discovered jails
|
Returns discovered jails
|
||||||
::
|
::
|
||||||
|
Testparameters: yes
|
||||||
Script: sudo fail2ban-client status | grep "Jail list" |grep -E -o "([-[:alnum:]]*, )*[-[:alnum:]]*$" | zaf_discovery '{#F2BJAIL}'
|
Script: sudo fail2ban-client status | grep "Jail list" |grep -E -o "([-[:alnum:]]*, )*[-[:alnum:]]*$" | zaf_discovery '{#F2BJAIL}'
|
||||||
/Item
|
/Item
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user