Monitoring websites
am 11.01.2008 18:04:02 von rkbnairHow 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?
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?
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/presentations/dotnetWebRequest/dotn etWebRequest.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"
news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
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/presentations/dotnetWebRequest/dotn etWebRequest.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"
> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
>
>
>
Another alternative is to use SCOM (monitoring)
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"rkbnair"
news:83AA957C-9EC1-48EF-9CD7-AC22C70E24A3@microsoft.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/presentations/dotnetWebRequest/dotn etWebRequest.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"
>> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
>>
>>
>>
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/presentations/dotnetWebRequest/dotn etWebRequest.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"
> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
>
>
>
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"
> news:83AA957C-9EC1-48EF-9CD7-AC22C70E24A3@microsoft.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/presentations/dotnetWebRequest/dotn etWebRequest.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"
> >> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
> >>
> >>
> >>
>
>
>
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"
news:37AB807B-92DD-4FAF-8A4A-0D4D7559045C@microsoft.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/presentations/dotnetWebRequest/dotn etWebRequest.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"
>> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
>>
>>
>>
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"
> news:37AB807B-92DD-4FAF-8A4A-0D4D7559045C@microsoft.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/presentations/dotnetWebRequest/dotn etWebRequest.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"
> >> news:2FE1C427-5D50-474D-8DC6-751E2E79ACFD@microsoft.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?
> >>
> >>
> >>
>
>
>