nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Checking connection status

This is a discussion on Checking connection status within the Shell scripting forums, part of the Development/Scripting category; We have a webserver which is connecting to various other server on different ports say 1245, 10000, 10001,7003,etc. The connectivity ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-12-2008, 06:18 PM
Junior Member
User
 
Join Date: Mar 2008
My distro: Debian
Posts: 1
Rep Power: 0
anupnair is on a distinguished road
Default Checking connection status

We have a webserver which is connecting to various other server on different ports say 1245, 10000, 10001,7003,etc. The connectivity with the remote servers are through a direct data connection or via VPN. There could be situations where the VPN would be down and we need to reconnect manually.
How to write a bash script which will check the telnet connectivity with the remote servers on a frequent interval.

e.g i would like to check the connectivity to IP:172.26.35.1 on port 7003

Appreciate your help.

Regards,
Anup
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Bash script for checking mysql processlist pinoyskull Shell scripting 1 08-12-2008 11:33 AM
hda: status timeout: status=0xd0 { Busy } surmandal Linux hardware 3 03-24-2008 09:16 PM
Checking files exist seeker082 Shell scripting 6 02-22-2008 01:39 AM
checking windows file from linux jhn_daz@yahoo.com Getting started tutorials 1 10-31-2007 08:40 PM
exit status Shell scripting 8 09-02-2005 07:34 PM


All times are GMT +5.5. The time now is 02:16 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36