Hi
I need some idea, Is there any way to write vb code to monitor server
activity and
if server fails send out email to admin.
thanks
Kalyan 10 1860
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote: Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote: Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Jorge
VB.NET, the piece of code should reside on memory and able to send
notification when server failed.
"Jorge L Matos [MCSD.NET]" wrote: Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Jorge
VB.NET, the piece of code should reside on memory and able to send
notification when server failed.
"Jorge L Matos [MCSD.NET]" wrote: Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Ususally a windows service running on another machine would be used to
monitor a server. You can't have a service running on the server be
responsible for sending the notification because the service will most likely
not be running if the server itself is down.
"Kalyan" wrote: Jorge
VB.NET, the piece of code should reside on memory and able to send notification when server failed. "Jorge L Matos [MCSD.NET]" wrote:
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Ususally a windows service running on another machine would be used to
monitor a server. You can't have a service running on the server be
responsible for sending the notification because the service will most likely
not be running if the server itself is down.
"Kalyan" wrote: Jorge
VB.NET, the piece of code should reside on memory and able to send notification when server failed. "Jorge L Matos [MCSD.NET]" wrote:
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
Hi
I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin.
thanks Kalyan
Absolutely I agree with you, My idea is to run a code one server and going to
monitor another webserver.
"Jorge L Matos [MCSD.NET]" wrote: Ususally a windows service running on another machine would be used to monitor a server. You can't have a service running on the server be responsible for sending the notification because the service will most likely not be running if the server itself is down.
"Kalyan" wrote:
Jorge
VB.NET, the piece of code should reside on memory and able to send notification when server failed. "Jorge L Matos [MCSD.NET]" wrote:
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
> Hi > > I need some idea, Is there any way to write vb code to monitor server > activity and > if server fails send out email to admin. > > > thanks > Kalyan
Absolutely I agree with you, My idea is to run a code one server and going to
monitor another webserver.
"Jorge L Matos [MCSD.NET]" wrote: Ususally a windows service running on another machine would be used to monitor a server. You can't have a service running on the server be responsible for sending the notification because the service will most likely not be running if the server itself is down.
"Kalyan" wrote:
Jorge
VB.NET, the piece of code should reside on memory and able to send notification when server failed. "Jorge L Matos [MCSD.NET]" wrote:
Kalyan,
Are you using VB.NET or VB6?
"Kalyan" wrote:
> Hi > > I need some idea, Is there any way to write vb code to monitor server > activity and > if server fails send out email to admin. > > > thanks > Kalyan
How about pinging the server every x seconds?
"Kalyan" <Ka****@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com... Absolutely I agree with you, My idea is to run a code one server and going to monitor another webserver. "Jorge L Matos [MCSD.NET]" wrote:
Ususally a windows service running on another machine would be used to monitor a server. You can't have a service running on the server be responsible for sending the notification because the service will most likely not be running if the server itself is down.
"Kalyan" wrote:
> Jorge > > VB.NET, the piece of code should reside on memory and able to send > notification when server failed. > > > > "Jorge L Matos [MCSD.NET]" wrote: > > > Kalyan, > > > > Are you using VB.NET or VB6? > > > > "Kalyan" wrote: > > > > > Hi > > > > > > I need some idea, Is there any way to write vb code to monitor > > > server > > > activity and > > > if server fails send out email to admin. > > > > > > > > > thanks > > > Kalyan
Andrei is right, using the .NET "Process" class you can easily invoke the
"Ping" command and redirect the output to your windows service, which can
then send email notifications if it gets the "Request timed out" in the
redirected output stream.
Check out: http://www.codeproject.com/csharp/LaunchProcess.asp
"Andrei Pociu" wrote: How about pinging the server every x seconds?
"Kalyan" <Ka****@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... Absolutely I agree with you, My idea is to run a code one server and going to monitor another webserver. "Jorge L Matos [MCSD.NET]" wrote:
Ususally a windows service running on another machine would be used to monitor a server. You can't have a service running on the server be responsible for sending the notification because the service will most likely not be running if the server itself is down.
"Kalyan" wrote:
> Jorge > > VB.NET, the piece of code should reside on memory and able to send > notification when server failed. > > > > "Jorge L Matos [MCSD.NET]" wrote: > > > Kalyan, > > > > Are you using VB.NET or VB6? > > > > "Kalyan" wrote: > > > > > Hi > > > > > > I need some idea, Is there any way to write vb code to monitor > > > server > > > activity and > > > if server fails send out email to admin. > > > > > > > > > thanks > > > Kalyan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kalyan |
last post by:
Hi
I need some idea, Is there any way to write vb code to monitor server
activity and
if server fails send out email to admin.
thanks
Kalyan
|
by: Dave |
last post by:
Is there a way to query the monitor status, to know if it is on or off
in C#? I found that WM_SYSCOMMAND is sent to WndProc when the monitor
goes on and off but im not sure to find out if that...
|
by: Jobs |
last post by:
Download the JAVA , .NET and SQL Server interview with answers
Download the JAVA , .NET and SQL Server interview sheet and rate
yourself. This will help you judge yourself are you really worth of...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |