HI,
I AM DEVELOPING WEBSITE MONITORING PROJECT IN ASP.NET FOR FINDING THE SERVER STATUS UP OR DOWN.PLZ HELP ME HOW TO MONITOR WEBSERVER BY USING SINGLE URL AND SQUENCE URLS.KINDLY SUGGEST SOME TECHNICAL IDEA HOW TO PROCEED.I AM NEW TO THIS TOPIC.KINDLY HELP ME.ITS VERY URGENT.THANKS IN ADVANCE
WEBSITEMONITORING:REQUEST:URGENT PLZZZZZZZZZZZZZ
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
ramesh prasad3 pointsPosted Jul 12, 2006, 10:58 AM EDT
Devi Chella9 pointsPosted Jul 13, 2006, 1:33 AM EDT
Thanks for your reply.our aim is to monitor the web server with the help of Websites which is running in the Server.We need to find out the server Status whether the server is down or not ,if it is down means we need to send SMS alert to Admin to restart the server.
Adam10 pointsPosted Jul 17, 2006, 7:25 AM EDT
Hi
I built some web monitoring software to monitor a few of our sites at work, basically it is a windows service which uses the WebRequest and WebResponse classes to get the a response from the webserver.
I send the WebRequest to the home page of the site, then depending on the HTTP Response Code from the server, take some action e.g. 200 = Ok, 404 = Not Found etc..
It is also a good idea to parse the page looking for a specific string as the server may respond with a 200 OK when really the page has thrown an exception which has been caught and is displayed in the browser.
Devi Chella9 pointsPosted Jul 23, 2006, 8:52 PM EDT
Thanks again for your reply.I got it .
Devi Chella9 pointsPosted Jul 27, 2006, 8:31 PM EDT
You said that you have developed this application windows service.I too developed this application in windows service.
The application is working fine but some times i am facing error like "UNDER LAYING CONNECTION WAS CLOSED:THE REMOTE SERVER CANNOT BE RESOLVED" for both valid URLS and invalid URLs. Can you plz clarify why i am getting this error and resolution how to correct the error.Waiting for positive reply.very urgent PLZZZZ