added jail parameter to help/docs

pull/2676/head
Rinck H. Sonnenberg 2020-04-03 14:24:39 +02:00
parent 6e570b8644
commit 6a888f928a
2 changed files with 8 additions and 2 deletions

View File

@ -50,7 +50,7 @@ Answer should be "pong"
Help Help
---- ----
Usage: /<path-to>/check_fail2ban [-p] [-D "CHECK FAIL2BAN ACTIVITY"] [-v] [-c 2] [-w 1] [-s /<path-to>/socket] [-P /usr/bin/fail2ban-client] Usage: /<path-to>/check_fail2ban [-p] [-D "CHECK FAIL2BAN ACTIVITY"] [-v] [-c 2] [-w 1] [-s /<path-to>/socket] [-P /usr/bin/fail2ban-client] [-j <jail>]
Options: Options:
-h, --help -h, --help
@ -74,6 +74,9 @@ Options:
default is unset default is unset
-p, --perfdata -p, --perfdata
If you want to activate the perfdata output If you want to activate the perfdata output
-j, --jail
Specify the name of the specific jail to monitor
omitted by default, i.e. all jails are being monitored
-v, --verbose -v, --verbose
Show details for command-line debugging (Nagios may truncate the output) Show details for command-line debugging (Nagios may truncate the output)

View File

@ -243,7 +243,7 @@ $script_name version $version by $author
This plugin checks if the fail2ban server is running and how many IPs are currently banned. This plugin checks if the fail2ban server is running and how many IPs are currently banned.
You can use this plugin to monitor all the jails or just a specific jail. You can use this plugin to monitor all the jails or just a specific jail.
Usage: /<path-to>/$script_name [-p] [-D "$display"] [-v] [-c 2] [-w 1] [-s /<path-to>/socket] [-P /usr/bin/fail2ban-client] Usage: /<path-to>/$script_name [-p] [-D "$display"] [-v] [-c 2] [-w 1] [-s /<path-to>/socket] [-P /usr/bin/fail2ban-client] [-j <jail>]
Options: Options:
-h, --help -h, --help
@ -267,6 +267,9 @@ Options:
default is unset default is unset
-p, --perfdata -p, --perfdata
If you want to activate the perfdata output If you want to activate the perfdata output
-j, --jail
Specify the name of the specific jail to monitor
omitted by default, i.e. all jails are being monitored
-v, --verbose -v, --verbose
Show details for command-line debugging (Nagios may truncate the output) Show details for command-line debugging (Nagios may truncate the output)