Security Basics mailing list archives
Re: an Internet connection monitoring
From: Paul Halliday <paul.halliday () gmail com>
Date: Fri, 9 Jul 2010 14:37:12 -0300
It must be Friday... I have to get back to work now :). #!/usr/local/bin/bash # Connection Checker Thingy(cct.sh) v0.01 beta. # Note: I am not sure how ping reacts outside of FreeBSD :) # # This will run the script every 5 minutes (add to someones cron) # */5 * * * * /usr/home/cc/cc.sh > /dev/null 2>&1 # Some vars notif="admin1 () blah ca,admin2 () blah ca" targets="10.1.2.3 10.1.2.4" for ip in $targets; do arewegood=no stamp=`date "+%Y-%m-%d %H:%M:%S"` base=`ping -n -W 6 -c 20 -q $ip | tail -n 2` if [ ${base:0:1} = "-" ]; then loss=`echo "$base" | sed 1d | awk -F "," '{print $3}' | awk '{print $1}' | tr -d "%"` arewegood=no else loss=`echo "$base" | sed 2d | awk -F "," '{print $3}' | awk '{print $1}' | tr -d "%"` yuck=`echo $loss | awk -F "." '{print $1}' | tr -d " "` if [ $yuck != 0 ]; then if [ $yuck > "10" ]; then arewegood=no else arewegood=yes fi else arewegood=yes fi fi if [ $arewegood = "no" ]; then echo "$ip is reporting ${loss}% packet loss $yuck" | mail -s "$stamp - Warning" $notif fi done On Fri, Jul 9, 2010 at 8:41 AM, Peter Odigie <peterquid () gmail com> wrote:
Hi all! I am seeking a tool that can help me to remotely know (monitor) when my router (or access point) internet connection (ISP connection) is down. I will like to receive a mail or any notification on a remote computer. Peter ------------------------------------------------------------------------ Securing Apache Web Server with thawte Digital Certificate In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates. http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1 ------------------------------------------------------------------------
------------------------------------------------------------------------ Securing Apache Web Server with thawte Digital Certificate In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates. http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1 ------------------------------------------------------------------------
Current thread:
- an Internet connection monitoring Peter Odigie (Jul 09)
- Re: an Internet connection monitoring fyne_ugo (Jul 09)
- Re: an Internet connection monitoring Sherwyn (Jul 09)
- Re: an Internet connection monitoring Mohamed Farid (Jul 09)
- Re: an Internet connection monitoring Emwav (Jul 09)
- Re: an Internet connection monitoring J. Bakshi (Jul 09)
- Re: an Internet connection monitoring Paul Halliday (Jul 09)
- Re: an Internet connection monitoring Tony Larco (Jul 09)
- Re: an Internet connection monitoring Markus Schwaiger (Jul 09)
- Re: an Internet connection monitoring Giuseppe Fabio (Jul 13)
- Re: an Internet connection monitoring fyne_ugo (Jul 09)