monitor IIS with C#

  • Thread starter Thread starter maxim iulian
  • Start date Start date
M

maxim iulian

I want to create o program in C# that's monitor IIS server.
Thank's a lot !
Maxim Iulian
 
What exactly do you want to monitor....

You can get the IIS, and supporting systems performance counters and check
them...
Can be used to check pages served, users online, size of cache, etc
You can get the Service status using the service controller classes...
Are the services running and what CPU% etc
You can monitor Hardware and OS using WMI...
Network interfaces, OS Settings, WMI Ping, Virtual Directories, Event
Logs
You can monitor the Logs by using the system io classes...
Web logs,

Mykre
www.ircomm.net - Managed Game Programming
 
What do you want to monitor? Whether the service is running? Check out the
System.Management.Instrumentation class.

HTH

DalePres
MCAD, MCDBA, MCSE
 
Yes, I want to create a program that monitor IIS in C#, but I'm a
beginer in C#.


Please send same sample.

Thank's a lot!
 
Back
Top