Applications Systems

Alerts included in AppInsight for IIS for SAM

This article provides details about the three alerts included for AppInsight for IIS in SolarWinds SAM.

First published date

1/16/2020 8:39 PM

Last published date

4/9/2025 6:49 PM

Overview

The AppInsight for IIS feature in SAM includes three default alerts.

  • Restart Failed IIS Application Pool
  • Restart Failed IIS Site
  • Alert me when the Average Server Execution Time for any URL exceeds an acceptable limit

Product section

Server Application Monitor

Resolution

Restart Failed IIS Application Pool

Disabled by default, this alert restarts any failed IIS application pool that is configured to be "AlwaysRunning." As configured, this alert will not trigger for application pools that are configured to start "OnDemand," as these application pools stop normally when not in use, or when the site that is configured to use the Application Pool has no activity and is dormant.

Alert Trigger: IIS application pool = Stopped and application pool startup mode is configured for "AlwaysRunning" and Application Pool is not equal to Unmanaged.

Trigger Action 1: Start application pool. (Application Pool trigger actions should include Stop, Start, and Restart — the same as available in the Orion Web Console for AppInsight for IIS application pools.)

Trigger Action 2: Email Notification

Subject: Application Pool ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is ${N=SwisEntity;M=DisplayState}.

Message Body: The IIS Application Pool ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is currently ${N=SwisEntity;M=DisplayState}. Attempting to restart Application Pool ${N=SwisEntity;M=Name} now. For more information click the URL below.

${N=SwisEntity;M=DetailsUrl}

Trigger Reset Action: Email Notification

Subject: Application Pool ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is ${N=SwisEntity;M=DisplayState}

Message Body: The IIS Application Pool ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is now ${N=SwisEntity;M=DisplayState}. For more information click the URL below.

${N=SwisEntity;M=DetailsUrl}

Restart Failed IIS Site

Disabled by default, this alert attempts to restart any site that is monitored by AppInsight for IIS that is found to be in a Stopped state.

Alert Trigger: IIS site = Stopped and not equal to Unmanaged.

Trigger Action 1: Start IIS site (IIS site trigger actions should include Stop, Start, and Restart — the same as available in the Orion Web Console for AppInsight for IIS application pools.)

Trigger Action 2: Email Notification

Subject: IIS Site ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is ${N=SwisEntity;M=DisplayState}.

Message Body: The IIS Site ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is currently ${N=SwisEntity;M=DisplayState}. Attempting to restart Site ${N=SwisEntity;M=Name} now. For more information click the URL below.

${N=SwisEntity;M=DetailsUrl}

Trigger Reset Action: Email Notification

Subject: IIS Site ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is ${N=SwisEntity;M=DisplayState}.

Message Body: The IIS Site ${N=SwisEntity;M=Name} on ${N=SwisEntity;M=Application.Node.Caption} is now ${N=SwisEntity;M=DisplayState}. For more information click the URL below.

${N=SwisEntity;M=DetailsUrl}.

Alert me when the Average Server Execution Time for any URL exceeds an acceptable limit

Disabled by default, this alert notifies you when the execution time of any URL monitored by AppInsight for IIS exceeds a predefined acceptable limit.

Alert Trigger: Average URL Server Execution Time is greater than 5 minutes.

Trigger Action: Email Notification

Subject: IIS Site Server Execution Time exceeded on ${N=SwisEntity;M=Site.Name}.

Message Body: The Server Average Execution time for ${N=SwisEntity;M=Site.Name} on ${N=SwisEntity;M=Site.Application.Node.Caption} has been exceeded. Details for the URL being accessed are listed below.

Recent Request Date:${N=SwisEntity;M=RecentRequestDate}

URL: ${N=SwisEntity;M=URLStem}

Average Server Execution Time:${N=SwisEntity;M=AverageElapsedTime} ms