all groups > iis smtp nntp > october 2007 >
You're in the

iis smtp nntp

group:

IISRESET


IISRESET bob
10/23/2007 3:30:02 PM
iis smtp nntp:
Is it possible to monitor IIS services with VB.net or VBscript on windowsXP
and when it fails execute a command line like "net start w3svc" to restart
the service?

Thank

Re: IISRESET Russell Hardie
10/23/2007 5:48:49 PM
c:\ iisreset /status

will return a "running" status that you could parse


[quoted text, click to view]

Re: IISRESET Sanford Whiteman
10/24/2007 8:25:10 AM
[quoted text, click to view]

Yes, using WMI or SNMP you can query overall SMTP status or individual
counters.

You can also control the SCM directly from code instead of shelling to
NET.EXE.

--Sandy




------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
AddThis Social Bookmark Button