473,396 Members | 1,866 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,396 software developers and data experts.

Server monitor and notification

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
Nov 22 '05 #1
10 1863
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

Nov 22 '05 #2
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

Nov 22 '05 #3
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

Nov 22 '05 #4
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

Nov 22 '05 #5
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

Nov 22 '05 #6
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

Nov 22 '05 #7
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

Nov 22 '05 #8
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

Nov 22 '05 #9
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

Nov 22 '05 #10
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


Nov 22 '05 #11

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

Similar topics

6
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
7
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...
2
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...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.