IIS Server monitor does not list Application Pools (Applicable only for AppManager versions till 15110)

IIS Server monitor does not list Application Pools (Applicable only for AppManager versions till 15110)

Note: The solution mentioned in this article is applicable only for Applications Manager versions till 15110.

Follow the steps given below to resolve the issue:

Step 1. Script Execution: Execute the iisAppPoolList.vbs script with the host information of the problematic monitor via command prompt, go to <Applications Manager Home>\working\conf\application\script directory and execute the below command:
cscript iisAppPoolList.vbs <hostname> <username> <password>
Example:
cscript iisAppPoolList.vbs iishost adminuser pwd123


Step 2Steps to verify 'WebAdministration' namespaceIf the above script results show "Invalid namespace", do the below steps:

There are some mandatory features that need to be enabled in the IIS which will in turn make our Application Pool monitoring work. Execute the following command in a PowerShell command prompt window on the IIS server machine to verify whether the namespace 'WebAdministration' is registered, as below:
gwmi -namespace "root" -class "__Namespace" | Select Name



Step 3. Steps to register 'WebAdministration' namespace: Perform the steps given below to enable the required features of Windows from the Control Panel, to register the namespace.

Refer to Microsoft documentation to know the step-by-step instructions in all available Windows OS flavors (Windows Server 2012, Server 2008, Windows 8, 8.1, 7 versions) to open either 'Server Manager' in Windows Servers or 'Windows Features' console in Windows 8, 7, etc.,

           Step 3.1: For Windows Server versions 2022, 2019, 2016, 2012, 2008, etc.,, Open 'Server Manager' -> click  'Manage' near the top right corner -> click 'Add Roles and Features' -> Under 'Installation Type', select 'Role-based or Feature-based installation'-> Select the local server in Server selection -> In 'Server Roles' -> Open 'Web Server(IIS)(Installed)' -> Open/Click 'Management Tools(Installed) -> select the components as shown in attached :
  1. IIS Management Console
  2. IIS Management Scripts and Tools
  3. IIS 6 Management Compatibility
    1. Expand and select dependent components.
  4. Management Service (If prompted to add ASP.NET 4.5 -> Click 'Add Features')

          Step 3.2: For Windows versions 11, 10, 8, etc.,Go to Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand Web Management Tools or Management Tools and then select the components as shown in below screenshot:
  1. IIS 6 Management Compatibility
    1. IIS 6 Management Console
    2. IIS 6 Scripting Tools
    3. IIS Metabase and IIS 6 configuration compatibility
  2. IIS Management Console
  3. IIS Management Scripts and Tools
  4. IIS Management Service


Click 'Next' -> Click 'Next' again ->(You can review the selected features) Click 'Install' and wait for the installation to complete. 

      Step 3.3: Refer this link for Windows 2003 server.



                  New to ADSelfService Plus?

                    • Related Articles

                    • IIS Server monitor - Troubleshooting 'No data available' error for IIS Websites and Application Pools statistics

                      Error: "No data available for IIS Website statistics." User must have the permission to execute WMI queries on 'root\CIMV2 ' namespace of the IIS Server. Steps to check the IIS Websites using AppManager script "wmiget.vbs" to execute the WMI query in ...
                    • IIS Server monitor - Troubleshooting steps

                      Unable to add IIS Server monitor Follow the below given below to add an IIS server monitor in Applications Manager: First, check whether all the prerequisites are done. Check the IIS Server URL is accessible from Applications Manager server. If your ...
                    • IIS Server monitor - Issues encountered while adding an IIS server monitor

                      Unable to add an IIS server monitor Prerequisites: Make sure you have performed all the prerequisites for the IIS server monitor. Follow the steps mentioned below to add an IIS server monitor: IIS Server URL accessibility: Check whether the IIS ...
                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the steps below for troubleshooting: Step 1: Check the RUM Agent configuration Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer the help ...
                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...