473,388 Members | 1,382 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Monitoring websites

How can we monitor whether certain website is working or not. We want to do
this every minute. Can we write something, or should go for thirdparty
vendors?
Jan 11 '08 #1
7 1242
Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microsof t.com...
How can we monitor whether certain website is working or not. We want to
do
this every minute. Can we write something, or should go for thirdparty
vendors?

Jan 11 '08 #2
Great !

Thanks for the help.

"George Ter-Saakov" wrote:
Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microsof t.com...
How can we monitor whether certain website is working or not. We want to
do
this every minute. Can we write something, or should go for thirdparty
vendors?


Jan 11 '08 #3
Another alternative is to use SCOM (monitoring)

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

"rkbnair" <rk*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Great !

Thanks for the help.

"George Ter-Saakov" wrote:
>Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other
external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP
status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice
that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microso ft.com...
How can we monitor whether certain website is working or not. We want
to
do
this every minute. Can we write something, or should go for thirdparty
vendors?



Jan 11 '08 #4
What kind of application I have to write though?

If it is an asp.net application, how can I make it run automatically, say in
every 10 minutes? What about a Windows Service?
"George Ter-Saakov" wrote:
Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microsof t.com...
How can we monitor whether certain website is working or not. We want to
do
this every minute. Can we write something, or should go for thirdparty
vendors?


Jan 11 '08 #5
SCOM looks promising. However, we have to buy the whole thing for just to
check whether the site is ok.
--
test
"John Timney (MVP)" wrote:
Another alternative is to use SCOM (monitoring)

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

"rkbnair" <rk*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Great !

Thanks for the help.

"George Ter-Saakov" wrote:
Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other
external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP
status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice
that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microsof t.com...
How can we monitor whether certain website is working or not. We want
to
do
this every minute. Can we write something, or should go for thirdparty
vendors?


Jan 11 '08 #6
Any kind you can write will do :)
Windows Service is preferable. But regular appliation will do as well. Put
it on schedule Control Panel/Scheduled Tasks
It depends on how you want to react if server is down..... If you want to
get paged write a windows service, if you want to see pop-up on your home
computer write a regular app.

George.
"rkbnair" <rk*****@community.nospamwrote in message
news:37**********************************@microsof t.com...
What kind of application I have to write though?

If it is an asp.net application, how can I make it run automatically, say
in
every 10 minutes? What about a Windows Service?
"George Ter-Saakov" wrote:
>Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other
external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP
status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice
that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microso ft.com...
How can we monitor whether certain website is working or not. We want
to
do
this every minute. Can we write something, or should go for thirdparty
vendors?



Jan 11 '08 #7
OK, now I understand.

Thanks a lot.

"George Ter-Saakov" wrote:
Any kind you can write will do :)
Windows Service is preferable. But regular appliation will do as well. Put
it on schedule Control Panel/Scheduled Tasks
It depends on how you want to react if server is down..... If you want to
get paged write a windows service, if you want to see pop-up on your home
computer write a regular app.

George.
"rkbnair" <rk*****@community.nospamwrote in message
news:37**********************************@microsof t.com...
What kind of application I have to write though?

If it is an asp.net application, how can I make it run automatically, say
in
every 10 minutes? What about a Windows Service?
"George Ter-Saakov" wrote:
Obviously you need to monitor it from another computer than your server.
Preferably even from different building....

Just write an application that would hit your ASPX page with WebRequest
http://www.west-wind.com/presentatio...WebRequest.htm

That page need to attempt to connect to database and/or any other
external
resource you using and do
Response.Write("OK")
Response.End()

Your monitoring software need to check if it comes back with 200 HTTP
status
message and has OK in it.
A lot of third party vendors simply ping the server and will not notice
that
DB is down for example.
George
"rkbnair" <rk*****@community.nospamwrote in message
news:2F**********************************@microsof t.com...
How can we monitor whether certain website is working or not. We want
to
do
this every minute. Can we write something, or should go for thirdparty
vendors?


Jan 11 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ron | last post by:
I am trying to run asp.net pages. The server is accessed via http://sitename/username I have verified it is using port 80 and aspx extensions are configured. But when I run and asp.net page I...
0
by: David Good | last post by:
We have a network running both Win2k and Win2k3 webservers and our web sites reside on a UNC network share that happens to be a Network Appliance NAS. Since moving the web root to the network...
4
by: johnm | last post by:
Hello, We currently are running a CRM application that uses DB/2 7.2 for the data repository. We will be upgrading to 8.2 later this year....maybe....time and resources permitting. The...
3
by: JSheble | last post by:
I have a windows service that in the OnStart it creates a thread and runs a loop forever and ever, assuming the service is running. The loop stops during the OnStop event, and everything works...
0
by: Jeff Reed | last post by:
I am experiencing the the problem outlined the below. Unfortunately, I am using WinXP and I not sure if I can apply the solution due to lack of security control Any feed back would be apreciated ...
0
by: msnews.microsoft.com | last post by:
No clue why I get this error. It doesn't happen on my local machine. It doesn't give a clue as to where it occurs. Any way to track this? I'm not even sure if it's affecting the web site. It seems...
0
by: Ron Simpson | last post by:
I am trying to run asp.net pages. The server is accessed via http://sitename/username I have verified it is using port 80 and aspx extensions are configured. But when I run and asp.net page I...
16
by: nmdc69 | last post by:
Hi folks, Is there a simple way to log IP's without CGI? I need to log the IP's of the visitors to a website I run. I used to have a CGI script but there's no CGI on the server I'm using now....
5
by: questionit | last post by:
Hi Does anyone know of a software to run at windows server that can show all the websites being opened at the clients' PC (On a LAN) ? Qi
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.