From 47c03a2c13c9401034f3ccfcc37830167540ae48 Mon Sep 17 00:00:00 2001 From: Lee Clemens Date: Mon, 26 Dec 2011 12:49:47 -0500 Subject: [PATCH] files/nagios - spelling/grammar fixes --- files/nagios/check_fail2ban | 13 ++++++------- files/nagios/f2ban.txt | 2 +- 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