Re: troubleshooting tools - IIS Crash/Hang agent

From: M. M. Rafferty (mmr_at_vistagrande.com)
Date: 03/01/04


Date: Mon, 1 Mar 2004 09:41:16 -0800

Hi WenJun,

Yes, I understand that I need to supply a script specified by the trigger if
I want it to do something such as email the adminstrator a notice of a hang.
No problem with that aspect.

My questions are
    1. Will is leave IIS running in the case of a hang situation?
(Experiments on my test box look like this is true -- IIS continues after
the log information is created -- which is what I need.)
    2. Will activating this ISAPI filter would have a noticable/significant
impact on performance? (This is for a shared hosting situation with many
virtual servers on a box.)

--
Mary M. Rafferty
mailto:mmr@vistagrande.com
""WenJun Zhang[MSFT]"" <v-wzhang@online.microsoft.com> wrote in message
news:yZEpci2$DHA.4044@cpmsftngxa06.phx.gbl...
> Hi Mary,
>
> The IIS Crash/Hang Agent is actaully an IIS global ISAPI filter which
> can be used to realtime monitor IIS server's status. It doesn't
> include any built-in functionality such as: sending email to
> administrator when the server crashes. However, it supports a command
> line trigger to run any commands when the server is crashed(or hang).
>  e.g: send email to administrator with a vbscript file.
>
> To use, please download the installation package from the link below:
> http://www.microsoft.com/downloads/details.aspx?FamilyID=01c4f89d-cc68
> -42ba-98d2-0c580437efcf&displaylang=en
>
> Note:
> Install this package and if you meet any command line error messages,
> just ignore them.
> In a '-' prompt, type 'quit' to exit debug.exe.
> If it asks you restart W3SVC, type 'Y'.
>
> On IIS5, right-click the server(computer icon) and open
> properties->WWW service->ISAPI filters. You should see the Crash/Hang
> agent filter has been deployed properly with top priority.
> On IIS6, right-click the 'Web Sites' folder to find the setting.
>
> All the settings are in the \IISDebugTools\IISCHAgent.ini file. By
> default, it only contains:
>
> [CrashAgent]
> Enable=1
> ;LogLocation=%SystemDrive%\iisdebugtools\logs
> ;MaxLogFiles=10
> ;PreActionCommand=
>
> Remove ';' to ask it perfrom a PreActionCommand.
>
> The .vbs sample to send mails can be found at:
> http://support.microsoft.com/?id=286431
> Use: cscript cdosmtp.vbs in a batch file and set it to be triggered
> by PreActionCommand=
>
> This should achieve the 'crash auto-send mail' scenario.
>
> Have a nice day,
>
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>


Relevant Pages

  • Re: Restart Application pool with commandline ??
    ... Yes, the commandline command exists, but no, I'm not going to tell you ... If you do not want the feature (i.e. you want IIS to keep restarting the ... Pool on its own. ... Be aware that this simply masks a problem that still exists on your server. ...
    (microsoft.public.inetserver.iis)
  • RE: Server Failed to Load - and more newbie questions
    ... It sounds like your IIS COM+ packages may be missing. ... Open a command prompt, and then use the following command to switch ... 314978 How to use Adminpak.msi to install a specific server administration ...
    (microsoft.public.inetserver.iis)
  • Re: Why server reverts to 2000 FPSE?
    ... Don't know why you insist on using the command line approach when extending of the FP SE is done directly in IIS per my ... (but can't test any server side controls like the FP SE or use a DB in a DBW) ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • RE: random IIS stops and restarts
    ... You will see 1 a restart command followed by 2 a stop command over and over ... If you are seeing events about some of the other IIS services terminating ... random IIS stops and restarts ... it just happened again on a second server yesterday. ...
    (Security-Basics)
  • Re: Executing a locally installed program in IIS 6
    ... IIS 6.0 on Windows Server 2003." ... zipcode.exe on the server, and the web page formats the ... So basically zipcode.exe a command line tool that returns ... This tool works in my existing IIS 5 web site application ...
    (microsoft.public.inetserver.misc)