summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2011-12-27 18:38:02 -0800
committerYaroslav Halchenko <debian@onerussian.com>2011-12-27 18:38:02 -0800
commit789b520ac33fc0642fad050a8eff6e3af9146d2e (patch)
treebc5cb0b289ca93b6e35807c14bbf5a6f3dc9aa16
parentbaea0bf3e8a16ad16002be6c527cbcb96864b306 (diff)
parent47c03a2c13c9401034f3ccfcc37830167540ae48 (diff)
downloadfail2ban-789b520ac33fc0642fad050a8eff6e3af9146d2e.tar.gz
Merge pull request #13 from leeclemens/master
spelling/grammar fixes in files/nagios
-rwxr-xr-xfiles/nagios/check_fail2ban13
-rw-r--r--files/nagios/f2ban.txt2
2 files changed, 7 insertions, 8 deletions
diff --git a/files/nagios/check_fail2ban b/files/nagios/check_fail2ban
index 6afa9d7d..2b38e8a9 100755
--- a/files/nagios/check_fail2ban
+++ b/files/nagios/check_fail2ban
@@ -45,9 +45,8 @@ check_processes_fail2ban()
}
######################################################################
# first check in the Background, PID will be killed when no response
-# after 10 seconds, might be possible, otherwise the scipt will be
-# pressent in your memory all the time
-#
+# after 10 seconds, might be possible, otherwise the script will be
+# present in your memory all the time
######################################################################
check_processes_fail2ban &
@@ -68,7 +67,7 @@ fi
done
######################################################################
-# when the Server response (doesent mean the FAIL2BAN is working)
+# when the Server response (does not mean the FAIL2BAN is working)
# in the first step, then it will run again and test the Service
# and provide the real status
######################################################################
@@ -83,19 +82,19 @@ fi
######################################################################
-# Mainmenu
+# Main Menu
######################################################################
final_exit=$exit_fail2ban
if [ $final_exit -eq 0 ]; then
- echo "SYSTEM OK - Fail2ban is working normaly"
+ echo "SYSTEM OK - Fail2ban is working normally"
exitstatus=$STATE_OK
elif [ $final_exit -ne "0" ]; then
echo "SYSTEM WARNING - Fail2Ban is not working"
######################################################################
# If don't have a Nagios Server for monitoring, remove the comment and
-# add your Mail Addres. You can check it with a Cron Job once a hour.
+# add your Mail Address. You can check it with a Cron Job once an hour.
# put a txt file on your server and describe how to fix the issue, this
# could be attached to the mail.
######################################################################
diff --git a/files/nagios/f2ban.txt b/files/nagios/f2ban.txt
index a811cd5d..0f048ff7 100644
--- a/files/nagios/f2ban.txt
+++ b/files/nagios/f2ban.txt
@@ -5,7 +5,7 @@ HELP:
1.) stop the Service
/etc/init.d/fail2ban stop
-2.) delete the socket if avalible
+2.) delete the socket if available
rm /tmp/fail2ban.sock
3.) start the Service