diff --git a/files/nagios/README b/files/nagios/README index 324260ff..aee92857 100644 --- a/files/nagios/README +++ b/files/nagios/README @@ -50,7 +50,7 @@ Answer should be "pong" Help ---- -Usage: //check_fail2ban [-p] [-D "CHECK FAIL2BAN ACTIVITY"] [-v] [-c 2] [-w 1] [-s //socket] [-P /usr/bin/fail2ban-client] +Usage: //check_fail2ban [-p] [-D "CHECK FAIL2BAN ACTIVITY"] [-v] [-c 2] [-w 1] [-s //socket] [-P /usr/bin/fail2ban-client] [-j ] Options: -h, --help @@ -74,6 +74,9 @@ Options: default is unset -p, --perfdata 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 Show details for command-line debugging (Nagios may truncate the output) diff --git a/files/nagios/check_fail2ban b/files/nagios/check_fail2ban index bbfa63aa..f893ed56 100755 --- a/files/nagios/check_fail2ban +++ b/files/nagios/check_fail2ban @@ -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. You can use this plugin to monitor all the jails or just a specific jail. -Usage: //$script_name [-p] [-D "$display"] [-v] [-c 2] [-w 1] [-s //socket] [-P /usr/bin/fail2ban-client] +Usage: //$script_name [-p] [-D "$display"] [-v] [-c 2] [-w 1] [-s //socket] [-P /usr/bin/fail2ban-client] [-j ] Options: -h, --help @@ -267,6 +267,9 @@ Options: default is unset -p, --perfdata 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 Show details for command-line debugging (Nagios may truncate the output)