FREE Shell script Directory
Linux / Unix Shell Script Directory
Not logged in [ Log In ] [ Register ] [ Add Listing ]
Index :: Network Management Scripts ::

Monitoring network logs

  The last example is a modified version of the previous example. When mail is not configured on the system the script will create a log file. The core of the script is wrapped into endless while loop which is set to execute ping check every hour ( 3600 second ). Modify the script according to your needs. Remove endless while loop when you intend to use this script with cron scheduler.



./check-server-status.sh google.com yahoo.com 192.168.1.2 mylinuxbox N2100
 
( This Software is Available for Direct Download )
 
Supported Operating System(s) CentOS, Debian, Linux Generic, Mac OS X,
File Size 1 kb
Version x
License Type Open Source
Requirements Bash / KSH shell
Author Website http://gnutoolbox.com
 

 
Added 2011/10/11
Views [ 2232 ] Visits [ 3 ]
 
  Listed by : admin

View other listings by admin