It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

How to ping ip address from Web page code?

How to ping ip address from Web page code?

Postby Wynnefield on Sun Dec 20, 2009 2:58 am

I am designing a simple Web page to display the availability of a couple of dozen servers; however, I am not quite sure of the best method to "ping the ip address" from within a Web page's code and capture the status to display on the page.

I suspect I will need to use some sort of script to perform this task and not sure if javascript will be the most efficient. We have a number of ASP and ASP.NET sites, and I would like to keep this one as simple as possible and avoid server-side scripting if at all feasible. I may fill a small database with the server ip addresses and loop through the servers while pinging for availability and/or status.

I would like to display a small indicator next to each ip address as a red/yellow/green box to indicate the health of the server. Green = Available; Yellow = Unsure response; and Red = No response. Does this make sense?

I appreciate your feedback and thank you in advance for your input and/or ideas.
User avatar
Wynnefield
 
Posts: 7
Joined: Sat Oct 08, 2005 6:48 pm
Location: North Texas

Re: How to ping ip address from Web page code?

Postby harrierdh on Wed Dec 23, 2009 5:24 pm

This can't be done from javascript. If it could be it would make for some very happy hackers.
harrierdh
50+ Club
 
Posts: 51
Joined: Wed Dec 16, 2009 7:04 pm

Re: How to ping ip address from Web page code?

Postby Wynnefield on Thu Dec 24, 2009 4:51 am

Thank you for the feedback. I received a PHP snippet from a member of another forum; however, I am not too anxious about introducing another scripting language into our production environment.
User avatar
Wynnefield
 
Posts: 7
Joined: Sat Oct 08, 2005 6:48 pm
Location: North Texas

Re: How to ping ip address from Web page code?

Postby ReverseInternet on Wed Apr 07, 2010 5:29 am

We’ve just lauched reverse Google Analytics ID lookup service that allows you to find websites by the same owner based on Google affiliate IDs that they use. You can also do lookups based on IP address and nameservers
ReverseInternet
 
Posts: 1
Joined: Wed Apr 07, 2010 5:25 am

Re: How to ping ip address from Web page code?

Postby jeeva on Thu Jun 24, 2010 9:46 am

You can test ping test here http://www.whoisxy.com/ @ free of costs... Also in here we can get all IP address like, DNS,PING etc...
jeeva
 
Posts: 3
Joined: Fri Apr 09, 2010 12:49 pm


Who is online

Users browsing this forum: No registered users and 12 guests